java.lang.Object
com.liferay.analytics.settings.rest.dto.v1_0.Channel
All Implemented Interfaces:
Serializable

@Generated("") public class Channel extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • channelId

      protected String channelId
    • commerceSyncEnabled

      protected Boolean commerceSyncEnabled
    • createDate

      protected Date createDate
    • dataSources

      protected DataSource[] dataSources
    • name

      protected String name
    • xClassName

      public String xClassName
  • Constructor Details

    • Channel

      public Channel()
  • Method Details

    • toDTO

      public static Channel toDTO(String json)
    • unsafeToDTO

      public static Channel unsafeToDTO(String json)
    • getChannelId

      public String getChannelId()
    • setChannelId

      public void setChannelId(String channelId)
    • setChannelId

      public void setChannelId(com.liferay.petra.function.UnsafeSupplier<String,Exception> channelIdUnsafeSupplier)
    • getCommerceSyncEnabled

      public Boolean getCommerceSyncEnabled()
    • setCommerceSyncEnabled

      public void setCommerceSyncEnabled(Boolean commerceSyncEnabled)
    • setCommerceSyncEnabled

      public void setCommerceSyncEnabled(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> commerceSyncEnabledUnsafeSupplier)
    • getCreateDate

      public Date getCreateDate()
    • setCreateDate

      public void setCreateDate(Date createDate)
    • setCreateDate

      public void setCreateDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> createDateUnsafeSupplier)
    • getDataSources

      @Valid public @Valid DataSource[] getDataSources()
    • setDataSources

      public void setDataSources(DataSource[] dataSources)
    • setDataSources

      public void setDataSources(com.liferay.petra.function.UnsafeSupplier<DataSource[],Exception> dataSourcesUnsafeSupplier)
    • getName

      @Size(min=3) public @Size(min=3) String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object