package com.huawei.hms.api; import com.huawei.hms.api.Api.ApiOptions; import com.huawei.hms.common.api.ConnectionPostProcessor; import com.huawei.hms.support.api.entity.auth.PermissionInfo; import com.huawei.hms.support.api.entity.auth.Scope; import java.util.Collections; import java.util.List; /* loaded from: classes2.dex */ public class Api { private final String mApiName; public List mConnetctPostList; private final Options mOption; /* loaded from: classes2.dex */ public interface ApiOptions { /* loaded from: classes2.dex */ public interface HasOptions extends ApiOptions { } /* loaded from: classes2.dex */ public static final class NoOptions implements NotRequiredOptions { } /* loaded from: classes2.dex */ public interface NotRequiredOptions extends ApiOptions { } /* loaded from: classes2.dex */ public interface Optional extends HasOptions, NotRequiredOptions { } } /* loaded from: classes2.dex */ public static abstract class Options { public List getPermissionInfoList(O o2) { return Collections.emptyList(); } public List getScopeList(O o2) { return Collections.emptyList(); } } public Api(String str) { this.mApiName = str; this.mOption = null; } public Api(String str, Options options) { this.mApiName = str; this.mOption = options; } public void setmConnetctPostList(List list) { this.mConnetctPostList = list; } public List getmConnetctPostList() { return this.mConnetctPostList; } public Options getOptions() { return this.mOption; } public String getApiName() { return this.mApiName; } }