Package com.mxraven.admin.model
Record Class CreateTenantAppleIdentityProviderRequest
java.lang.Object
java.lang.Record
com.mxraven.admin.model.CreateTenantAppleIdentityProviderRequest
- Record Components:
idpRef- immutable identity-provider referencename- human-readable provider nameclientId- Apple service client identifierteamId- Apple developer team identifierkeyId- Apple signing key identifierprivateKey- Apple signing private keyscopes- optional OAuth scopesproviderOptions- optional provider-specific options
public record CreateTenantAppleIdentityProviderRequest(String idpRef, String name, String clientId, String teamId, String keyId, String privateKey, List<String> scopes, ProviderOptions providerOptions)
extends Record
Request body for
POST /v2/tenants/{slug}/identity-providers/apple.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds aCreateTenantAppleIdentityProviderRequest. -
Constructor Summary
ConstructorsConstructorDescriptionCreateTenantAppleIdentityProviderRequest(String idpRef, String name, String clientId, String teamId, String keyId, String privateKey, List<String> scopes, ProviderOptions providerOptions) Creates an instance of aCreateTenantAppleIdentityProviderRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new request builder.clientId()Returns the value of theclientIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.idpRef()Returns the value of theidpRefrecord component.keyId()Returns the value of thekeyIdrecord component.name()Returns the value of thenamerecord component.Returns the value of theprivateKeyrecord component.Returns the value of theproviderOptionsrecord component.scopes()Returns the value of thescopesrecord component.teamId()Returns the value of theteamIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateTenantAppleIdentityProviderRequest
public CreateTenantAppleIdentityProviderRequest(String idpRef, String name, String clientId, String teamId, String keyId, String privateKey, List<String> scopes, ProviderOptions providerOptions) Creates an instance of aCreateTenantAppleIdentityProviderRequestrecord class.- Parameters:
idpRef- the value for theidpRefrecord componentname- the value for thenamerecord componentclientId- the value for theclientIdrecord componentteamId- the value for theteamIdrecord componentkeyId- the value for thekeyIdrecord componentprivateKey- the value for theprivateKeyrecord componentscopes- the value for thescopesrecord componentproviderOptions- the value for theproviderOptionsrecord component
-
-
Method Details
-
builder
Creates a new request builder.- Returns:
- a new builder
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
idpRef
Returns the value of theidpRefrecord component.- Returns:
- the value of the
idpRefrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
teamId
Returns the value of theteamIdrecord component.- Returns:
- the value of the
teamIdrecord component
-
keyId
Returns the value of thekeyIdrecord component.- Returns:
- the value of the
keyIdrecord component
-
privateKey
Returns the value of theprivateKeyrecord component.- Returns:
- the value of the
privateKeyrecord component
-
scopes
Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-
providerOptions
Returns the value of theproviderOptionsrecord component.- Returns:
- the value of the
providerOptionsrecord component
-