Class Channel
java.lang.Object
com.commercetools.graphql.api.types.Channel
- All Implemented Interfaces:
ReferenceExpandable,ReviewTarget,Versioned
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionChannel()Channel(String id, Long version, String key, List<ChannelRole> roles, String name, List<LocalizedString> nameAllLocales, String description, List<LocalizedString> descriptionAllLocales, Address address, Geometry geoLocation, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, ReviewRatingStatistics reviewRatingStatistics, CustomFieldsType custom, Initiator createdBy, Initiator lastModifiedBy) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getName()getRoles()inthashCode()static Channel.BuildervoidsetAddress(Address address) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(Initiator createdBy) voidsetCustom(CustomFieldsType custom) voidsetDescription(String description) voidsetDescriptionAllLocales(List<LocalizedString> descriptionAllLocales) voidsetGeoLocation(Geometry geoLocation) voidvoidvoidsetLastModifiedAt(OffsetDateTime lastModifiedAt) voidsetLastModifiedBy(Initiator lastModifiedBy) voidvoidsetNameAllLocales(List<LocalizedString> nameAllLocales) voidsetReviewRatingStatistics(ReviewRatingStatistics reviewRatingStatistics) voidsetRoles(List<ChannelRole> roles) voidsetVersion(Long version) toString()
-
Constructor Details
-
Channel
public Channel() -
Channel
public Channel(String id, Long version, String key, List<ChannelRole> roles, String name, List<LocalizedString> nameAllLocales, String description, List<LocalizedString> descriptionAllLocales, Address address, Geometry geoLocation, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, ReviewRatingStatistics reviewRatingStatistics, CustomFieldsType custom, Initiator createdBy, Initiator lastModifiedBy)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceReferenceExpandable- Specified by:
getIdin interfaceReviewTarget- Specified by:
getIdin interfaceVersioned
-
setId
- Specified by:
setIdin interfaceReferenceExpandable- Specified by:
setIdin interfaceReviewTarget- Specified by:
setIdin interfaceVersioned
-
getVersion
- Specified by:
getVersionin interfaceVersioned
-
setVersion
- Specified by:
setVersionin interfaceVersioned
-
getKey
-
setKey
-
getRoles
-
setRoles
-
getName
-
setName
-
getNameAllLocales
-
setNameAllLocales
-
getDescription
-
setDescription
-
getDescriptionAllLocales
-
setDescriptionAllLocales
-
getAddress
-
setAddress
-
getGeoLocation
-
setGeoLocation
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceVersioned
-
setCreatedAt
- Specified by:
setCreatedAtin interfaceVersioned
-
getLastModifiedAt
- Specified by:
getLastModifiedAtin interfaceVersioned
-
setLastModifiedAt
- Specified by:
setLastModifiedAtin interfaceVersioned
-
getReviewRatingStatistics
-
setReviewRatingStatistics
-
getCustom
-
setCustom
-
getCreatedBy
- Specified by:
getCreatedByin interfaceVersioned
-
setCreatedBy
- Specified by:
setCreatedByin interfaceVersioned
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceVersioned
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceVersioned
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-