Class IamUserAvatar


  • public class IamUserAvatar
    extends java.lang.Object
    IamUserAvatar

    The user's avatar data. This generally contains a URL within this property's 'contents' array.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  IamUserAvatar.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      IamUserAvatar()  
      IamUserAvatar​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<? extends IamUserCategory> category, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Content>> contents, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl, org.openapitools.jackson.nullable.JsonNullable<? extends IamUserFileFormat> fileFormat)  
    • Constructor Detail

      • IamUserAvatar

        public IamUserAvatar​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                             org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId,
                             org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name,
                             org.openapitools.jackson.nullable.JsonNullable<? extends IamUserCategory> category,
                             org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Content>> contents,
                             org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId,
                             org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt,
                             org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt,
                             org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl,
                             org.openapitools.jackson.nullable.JsonNullable<? extends IamUserFileFormat> fileFormat)
      • IamUserAvatar

        public IamUserAvatar()
    • Method Detail

      • id

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
        Unique identifier
      • remoteId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
        Provider's unique identifier
      • name

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
        The name of the file
      • category

        public org.openapitools.jackson.nullable.JsonNullable<IamUserCategory> category()
        The category of the file
      • contents

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<Content>> contents()
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The content of the file. Deprecated, use `url` and `file_format` one level up instead
      • categoryId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId()
        The categoryId of the documents
      • createdAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
        The creation date of the file
      • updatedAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
        The update date of the file
      • remoteUrl

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl()
        URL where the file content is located
      • fileFormat

        public org.openapitools.jackson.nullable.JsonNullable<IamUserFileFormat> fileFormat()
        The file format of the file
      • withId

        public IamUserAvatar withId​(java.lang.String id)
        Unique identifier
      • withId

        public IamUserAvatar withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • withRemoteId

        public IamUserAvatar withRemoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • withRemoteId

        public IamUserAvatar withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • withName

        public IamUserAvatar withName​(java.lang.String name)
        The name of the file
      • withName

        public IamUserAvatar withName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
        The name of the file
      • withCategory

        public IamUserAvatar withCategory​(org.openapitools.jackson.nullable.JsonNullable<? extends IamUserCategory> category)
        The category of the file
      • withContents

        @Deprecated
        public IamUserAvatar withContents​(java.util.List<Content> contents)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The content of the file. Deprecated, use `url` and `file_format` one level up instead
      • withContents

        @Deprecated
        public IamUserAvatar withContents​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Content>> contents)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The content of the file. Deprecated, use `url` and `file_format` one level up instead
      • withCategoryId

        public IamUserAvatar withCategoryId​(java.lang.String categoryId)
        The categoryId of the documents
      • withCategoryId

        public IamUserAvatar withCategoryId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> categoryId)
        The categoryId of the documents
      • withCreatedAt

        public IamUserAvatar withCreatedAt​(java.time.OffsetDateTime createdAt)
        The creation date of the file
      • withCreatedAt

        public IamUserAvatar withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The creation date of the file
      • withUpdatedAt

        public IamUserAvatar withUpdatedAt​(java.time.OffsetDateTime updatedAt)
        The update date of the file
      • withUpdatedAt

        public IamUserAvatar withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The update date of the file
      • withRemoteUrl

        public IamUserAvatar withRemoteUrl​(java.lang.String remoteUrl)
        URL where the file content is located
      • withRemoteUrl

        public IamUserAvatar withRemoteUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUrl)
        URL where the file content is located
      • withFileFormat

        public IamUserAvatar withFileFormat​(org.openapitools.jackson.nullable.JsonNullable<? extends IamUserFileFormat> fileFormat)
        The file format of the file
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object