Class Campaign


  • public class Campaign
    extends java.lang.Object
    • Nested Class Summary

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

      Constructors 
      Constructor Description
      Campaign()  
      Campaign​(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<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description, org.openapitools.jackson.nullable.JsonNullable<? extends ScheduleType> scheduleType, org.openapitools.jackson.nullable.JsonNullable<? extends CampaignStatus> status, org.openapitools.jackson.nullable.JsonNullable<? extends Archived> archived, org.openapitools.jackson.nullable.JsonNullable<? extends Draft> draft, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ChannelsEnum>> channels, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> firstSentAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastSentAt, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Message>> messages)  
    • Constructor Detail

      • Campaign

        public Campaign​(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<java.time.OffsetDateTime> createdAt,
                        org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt,
                        org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description,
                        org.openapitools.jackson.nullable.JsonNullable<? extends ScheduleType> scheduleType,
                        org.openapitools.jackson.nullable.JsonNullable<? extends CampaignStatus> status,
                        org.openapitools.jackson.nullable.JsonNullable<? extends Archived> archived,
                        org.openapitools.jackson.nullable.JsonNullable<? extends Draft> draft,
                        org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ChannelsEnum>> channels,
                        org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> firstSentAt,
                        org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastSentAt,
                        org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags,
                        org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Message>> messages)
      • Campaign

        public Campaign()
    • 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()
      • createdAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
        The created_at date
      • updatedAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
        The updated_at date
      • description

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description()
      • scheduleType

        public org.openapitools.jackson.nullable.JsonNullable<ScheduleType> scheduleType()
        The schedule type
      • status

        public org.openapitools.jackson.nullable.JsonNullable<CampaignStatus> status()
        Status of the Campaign
      • archived

        public org.openapitools.jackson.nullable.JsonNullable<Archived> archived()
      • draft

        public org.openapitools.jackson.nullable.JsonNullable<Draft> draft()
      • channels

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<ChannelsEnum>> channels()
        channels of the Campaign
      • firstSentAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> firstSentAt()
        The first_sent_at date
      • lastSentAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastSentAt()
        The last_sent_at date
      • tags

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> tags()
      • messages

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<Message>> messages()
      • withId

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

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

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

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

        public Campaign withName​(java.lang.String name)
      • withName

        public Campaign withName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
      • withCreatedAt

        public Campaign withCreatedAt​(java.time.OffsetDateTime createdAt)
        The created_at date
      • withCreatedAt

        public Campaign withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The created_at date
      • withUpdatedAt

        public Campaign withUpdatedAt​(java.time.OffsetDateTime updatedAt)
        The updated_at date
      • withUpdatedAt

        public Campaign withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The updated_at date
      • withDescription

        public Campaign withDescription​(java.lang.String description)
      • withDescription

        public Campaign withDescription​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
      • withScheduleType

        public Campaign withScheduleType​(ScheduleType scheduleType)
        The schedule type
      • withScheduleType

        public Campaign withScheduleType​(org.openapitools.jackson.nullable.JsonNullable<? extends ScheduleType> scheduleType)
        The schedule type
      • withStatus

        public Campaign withStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends CampaignStatus> status)
        Status of the Campaign
      • withArchived

        public Campaign withArchived​(org.openapitools.jackson.nullable.JsonNullable<? extends Archived> archived)
      • withDraft

        public Campaign withDraft​(org.openapitools.jackson.nullable.JsonNullable<? extends Draft> draft)
      • withChannels

        public Campaign withChannels​(java.util.List<ChannelsEnum> channels)
        channels of the Campaign
      • withChannels

        public Campaign withChannels​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ChannelsEnum>> channels)
        channels of the Campaign
      • withFirstSentAt

        public Campaign withFirstSentAt​(java.time.OffsetDateTime firstSentAt)
        The first_sent_at date
      • withFirstSentAt

        public Campaign withFirstSentAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> firstSentAt)
        The first_sent_at date
      • withLastSentAt

        public Campaign withLastSentAt​(java.time.OffsetDateTime lastSentAt)
        The last_sent_at date
      • withLastSentAt

        public Campaign withLastSentAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastSentAt)
        The last_sent_at date
      • withTags

        public Campaign withTags​(java.util.List<java.lang.String> tags)
      • withTags

        public Campaign withTags​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)
      • withMessages

        public Campaign withMessages​(java.util.List<Message> messages)
      • withMessages

        public Campaign withMessages​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Message>> messages)
      • 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