Class Space


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class Space
    extends Object
    • Constructor Detail

      • Space

        public Space()
    • Method Detail

      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
      • creatorId

        public Space creatorId​(String creatorId)
      • getCreatorId

        @Nullable
        public String getCreatorId()
        Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
        Returns:
        creatorId
      • setCreatorId

        public void setCreatorId​(String creatorId)
      • addHostIdsItem

        public Space addHostIdsItem​(String hostIdsItem)
      • getHostIds

        @Nullable
        public List<String> getHostIds()
        The user ids for the hosts of the Space.
        Returns:
        hostIds
      • setHostIds

        public void setHostIds​(List<String> hostIds)
      • getId

        @Nonnull
        public String getId()
        The unique identifier of this Space.
        Returns:
        id
      • setId

        public void setId​(String id)
      • invitedUserIds

        public Space invitedUserIds​(List<String> invitedUserIds)
      • addInvitedUserIdsItem

        public Space addInvitedUserIdsItem​(String invitedUserIdsItem)
      • getInvitedUserIds

        @Nullable
        public List<String> getInvitedUserIds()
        An array of user ids for people who were invited to a Space.
        Returns:
        invitedUserIds
      • setInvitedUserIds

        public void setInvitedUserIds​(List<String> invitedUserIds)
      • isTicketed

        public Space isTicketed​(Boolean isTicketed)
      • getIsTicketed

        @Nullable
        public Boolean getIsTicketed()
        Denotes if the Space is a ticketed Space.
        Returns:
        isTicketed
      • setIsTicketed

        public void setIsTicketed​(Boolean isTicketed)
      • getLang

        @Nullable
        public String getLang()
        The language of the Space.
        Returns:
        lang
      • setLang

        public void setLang​(String lang)
      • participantCount

        public Space participantCount​(Integer participantCount)
      • getParticipantCount

        @Nullable
        public Integer getParticipantCount()
        The number of participants in a Space.
        Returns:
        participantCount
      • setParticipantCount

        public void setParticipantCount​(Integer participantCount)
      • getScheduledStart

        @Nullable
        public OffsetDateTime getScheduledStart()
        A date time stamp for when a Space is scheduled to begin.
        Returns:
        scheduledStart
      • setScheduledStart

        public void setScheduledStart​(OffsetDateTime scheduledStart)
      • addSpeakerIdsItem

        public Space addSpeakerIdsItem​(String speakerIdsItem)
      • getSpeakerIds

        @Nullable
        public List<String> getSpeakerIds()
        An array of user ids for people who were speakers in a Space.
        Returns:
        speakerIds
      • setSpeakerIds

        public void setSpeakerIds​(List<String> speakerIds)
      • getStartedAt

        @Nullable
        public OffsetDateTime getStartedAt()
        When the Space was started as a date string.
        Returns:
        startedAt
      • setStartedAt

        public void setStartedAt​(OffsetDateTime startedAt)
      • subscriberCount

        public Space subscriberCount​(Integer subscriberCount)
      • getSubscriberCount

        @Nullable
        public Integer getSubscriberCount()
        The number of people who have either purchased a ticket or set a reminder for this Space.
        Returns:
        subscriberCount
      • setSubscriberCount

        public void setSubscriberCount​(Integer subscriberCount)
      • getTitle

        @Nullable
        public String getTitle()
        The title of the Space.
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • getTopics

        @Nullable
        public List<SpaceTopics> getTopics()
        The topics of a Space, as selected by its creator.
        Returns:
        topics
      • getUpdatedAt

        @Nullable
        public OffsetDateTime getUpdatedAt()
        When the Space was last updated.
        Returns:
        updatedAt
      • setUpdatedAt

        public void setUpdatedAt​(OffsetDateTime updatedAt)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to Space
      • fromJson

        public static Space fromJson​(String jsonString)
                              throws IOException
        Create an instance of Space given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Space
        Throws:
        IOException - if the JSON string is invalid with respect to Space
      • toJson

        public String toJson()
        Convert an instance of Space to an JSON string
        Returns:
        JSON string