Package io.fabric8.openshift.api.model
Class OAuthClientAuthorization
- java.lang.Object
-
- io.fabric8.openshift.api.model.OAuthClientAuthorization
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OAuthClientAuthorizationBuilder>,io.fabric8.kubernetes.api.model.HasMetadata,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OAuthClientAuthorization extends Object implements io.fabric8.kubernetes.api.builder.Editable<OAuthClientAuthorizationBuilder>, io.fabric8.kubernetes.api.model.HasMetadata
OAuthClientAuthorization describes an authorization created by an OAuth clientCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuthClientAuthorization()No args constructor for use in serializationOAuthClientAuthorization(String apiVersion, String clientName, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, List<String> scopes, String userName, String userUID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthClientAuthorizationBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetClientName()clientName references the client that created this authorizationStringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ObjectMetagetMetadata()OAuthClientAuthorization describes an authorization created by an OAuth clientList<String>getScopes()scopes is an array of the granted scopes.StringgetUserName()userName is the user name that authorized this clientStringgetUserUID()userUID is the unique UID associated with this authorization.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetClientName(String clientName)clientName references the client that created this authorizationvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)OAuthClientAuthorization describes an authorization created by an OAuth clientvoidsetScopes(List<String> scopes)scopes is an array of the granted scopes.voidsetUserName(String userName)userName is the user name that authorized this clientvoidsetUserUID(String userUID)userUID is the unique UID associated with this authorization.OAuthClientAuthorizationBuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.api.model.HasMetadata
addFinalizer, addOwnerReference, addOwnerReference, getFinalizers, getFullResourceName, getOwnerReferenceFor, getOwnerReferenceFor, getPlural, getSingular, hasFinalizer, hasOwnerReferenceFor, hasOwnerReferenceFor, initNameAndNamespaceFrom, isFinalizerValid, isMarkedForDeletion, optionalMetadata, removeFinalizer, removeOwnerReference, removeOwnerReference
-
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
getApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
setApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getClientName
public String getClientName()
clientName references the client that created this authorization
-
setClientName
public void setClientName(String clientName)
clientName references the client that created this authorization
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Specified by:
getKindin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
OAuthClientAuthorization describes an authorization created by an OAuth clientCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
OAuthClientAuthorization describes an authorization created by an OAuth clientCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Specified by:
setMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getUserName
public String getUserName()
userName is the user name that authorized this client
-
setUserName
public void setUserName(String userName)
userName is the user name that authorized this client
-
getUserUID
public String getUserUID()
userUID is the unique UID associated with this authorization. UserUID and UserName must both match for this authorization to be valid.
-
setUserUID
public void setUserUID(String userUID)
userUID is the unique UID associated with this authorization. UserUID and UserName must both match for this authorization to be valid.
-
edit
public OAuthClientAuthorizationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OAuthClientAuthorizationBuilder>
-
toBuilder
public OAuthClientAuthorizationBuilder toBuilder()
-
-