Class Campaign
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Campaign
-
public class Campaign extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCampaign.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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<Archived>archived()static Campaign.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.util.List<ChannelsEnum>>channels()channels of the Campaignorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()The created_at dateorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>description()org.openapitools.jackson.nullable.JsonNullable<Draft>draft()booleanequals(java.lang.Object o)org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>firstSentAt()The first_sent_at dateinthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>lastSentAt()The last_sent_at dateorg.openapitools.jackson.nullable.JsonNullable<java.util.List<Message>>messages()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<ScheduleType>scheduleType()The schedule typeorg.openapitools.jackson.nullable.JsonNullable<CampaignStatus>status()Status of the Campaignorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>tags()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()The updated_at dateCampaignwithArchived(Archived archived)CampaignwithArchived(org.openapitools.jackson.nullable.JsonNullable<? extends Archived> archived)CampaignwithChannels(java.util.List<ChannelsEnum> channels)channels of the CampaignCampaignwithChannels(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ChannelsEnum>> channels)channels of the CampaignCampaignwithCreatedAt(java.time.OffsetDateTime createdAt)The created_at dateCampaignwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created_at dateCampaignwithDescription(java.lang.String description)CampaignwithDescription(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)CampaignwithDraft(Draft draft)CampaignwithDraft(org.openapitools.jackson.nullable.JsonNullable<? extends Draft> draft)CampaignwithFirstSentAt(java.time.OffsetDateTime firstSentAt)The first_sent_at dateCampaignwithFirstSentAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> firstSentAt)The first_sent_at dateCampaignwithId(java.lang.String id)Unique identifierCampaignwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierCampaignwithLastSentAt(java.time.OffsetDateTime lastSentAt)The last_sent_at dateCampaignwithLastSentAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastSentAt)The last_sent_at dateCampaignwithMessages(java.util.List<Message> messages)CampaignwithMessages(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Message>> messages)CampaignwithName(java.lang.String name)CampaignwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)CampaignwithRemoteId(java.lang.String remoteId)Provider's unique identifierCampaignwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierCampaignwithScheduleType(ScheduleType scheduleType)The schedule typeCampaignwithScheduleType(org.openapitools.jackson.nullable.JsonNullable<? extends ScheduleType> scheduleType)The schedule typeCampaignwithStatus(CampaignStatus status)Status of the CampaignCampaignwithStatus(org.openapitools.jackson.nullable.JsonNullable<? extends CampaignStatus> status)Status of the CampaignCampaignwithTags(java.util.List<java.lang.String> tags)CampaignwithTags(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)CampaignwithUpdatedAt(java.time.OffsetDateTime updatedAt)The updated_at dateCampaignwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at date
-
-
-
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()
-
builder
public static Campaign.Builder builder()
-
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(CampaignStatus status)
Status of the Campaign
-
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(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Message>> messages)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-