public static class PostOAuth2Token.Builder extends NullableFieldTracker
| Modifier and Type | Field and Description |
|---|---|
protected String |
actorToken |
protected EnumWrapper<PostOAuth2TokenActorTokenTypeField> |
actorTokenType |
protected String |
assertion |
protected String |
boxSharedLink |
protected String |
boxSubjectId |
protected EnumWrapper<PostOAuth2TokenBoxSubjectTypeField> |
boxSubjectType |
protected String |
clientId |
protected String |
clientSecret |
protected String |
code |
protected EnumWrapper<PostOAuth2TokenGrantTypeField> |
grantType |
protected String |
refreshToken |
protected String |
resource |
protected String |
scope |
protected String |
subjectToken |
protected EnumWrapper<PostOAuth2TokenSubjectTokenTypeField> |
subjectTokenType |
explicitlySetNullableFields| Constructor and Description |
|---|
Builder(EnumWrapper<PostOAuth2TokenGrantTypeField> grantType) |
Builder(PostOAuth2TokenGrantTypeField grantType) |
getExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final EnumWrapper<PostOAuth2TokenGrantTypeField> grantType
protected String clientSecret
protected String refreshToken
protected String subjectToken
protected EnumWrapper<PostOAuth2TokenSubjectTokenTypeField> subjectTokenType
protected String actorToken
protected EnumWrapper<PostOAuth2TokenActorTokenTypeField> actorTokenType
protected EnumWrapper<PostOAuth2TokenBoxSubjectTypeField> boxSubjectType
protected String boxSubjectId
protected String boxSharedLink
public Builder(PostOAuth2TokenGrantTypeField grantType)
public Builder(EnumWrapper<PostOAuth2TokenGrantTypeField> grantType)
public PostOAuth2Token.Builder clientId(String clientId)
public PostOAuth2Token.Builder clientSecret(String clientSecret)
public PostOAuth2Token.Builder code(String code)
public PostOAuth2Token.Builder refreshToken(String refreshToken)
public PostOAuth2Token.Builder assertion(String assertion)
public PostOAuth2Token.Builder subjectToken(String subjectToken)
public PostOAuth2Token.Builder subjectTokenType(PostOAuth2TokenSubjectTokenTypeField subjectTokenType)
public PostOAuth2Token.Builder subjectTokenType(EnumWrapper<PostOAuth2TokenSubjectTokenTypeField> subjectTokenType)
public PostOAuth2Token.Builder actorToken(String actorToken)
public PostOAuth2Token.Builder actorTokenType(PostOAuth2TokenActorTokenTypeField actorTokenType)
public PostOAuth2Token.Builder actorTokenType(EnumWrapper<PostOAuth2TokenActorTokenTypeField> actorTokenType)
public PostOAuth2Token.Builder scope(String scope)
public PostOAuth2Token.Builder resource(String resource)
public PostOAuth2Token.Builder boxSubjectType(PostOAuth2TokenBoxSubjectTypeField boxSubjectType)
public PostOAuth2Token.Builder boxSubjectType(EnumWrapper<PostOAuth2TokenBoxSubjectTypeField> boxSubjectType)
public PostOAuth2Token.Builder boxSubjectId(String boxSubjectId)
public PostOAuth2Token.Builder boxSharedLink(String boxSharedLink)
public PostOAuth2Token build()