Class Publisher

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class Publisher
    extends Crmbaseentity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • friendlyname

        protected String friendlyname
      • publisherid

        protected String publisherid
      • address2_utcoffset

        protected Integer address2_utcoffset
      • address1_line2

        protected String address1_line2
      • address1_upszone

        protected String address1_upszone
      • address2_county

        protected String address2_county
      • address1_shippingmethodcode

        protected Integer address1_shippingmethodcode
      • isreadonly

        protected Boolean isreadonly
      • address1_telephone3

        protected String address1_telephone3
      • entityimage_timestamp

        protected Long entityimage_timestamp
      • address1_country

        protected String address1_country
      • pinpointpublisherdefaultlocale

        protected String pinpointpublisherdefaultlocale
      • address2_name

        protected String address2_name
      • address1_telephone1

        protected String address1_telephone1
      • description

        protected String description
      • address1_addressid

        protected String address1_addressid
      • address2_stateorprovince

        protected String address2_stateorprovince
      • address1_addresstypecode

        protected Integer address1_addresstypecode
      • address2_addressid

        protected String address2_addressid
      • address2_city

        protected String address2_city
      • address1_line3

        protected String address1_line3
      • address2_line1

        protected String address2_line1
      • versionnumber

        protected Long versionnumber
      • pinpointpublisherid

        protected Long pinpointpublisherid
      • _createdby_value

        protected String _createdby_value
      • customizationprefix

        protected String customizationprefix
      • address2_line3

        protected String address2_line3
      • address2_longitude

        protected Double address2_longitude
      • address1_fax

        protected String address1_fax
      • entityimage_url

        protected String entityimage_url
      • address2_fax

        protected String address2_fax
      • address1_line1

        protected String address1_line1
      • address2_shippingmethodcode

        protected Integer address2_shippingmethodcode
      • address2_line2

        protected String address2_line2
      • address1_postalcode

        protected String address1_postalcode
      • address2_postalcode

        protected String address2_postalcode
      • address1_latitude

        protected Double address1_latitude
      • address1_name

        protected String address1_name
      • address1_postofficebox

        protected String address1_postofficebox
      • address2_latitude

        protected Double address2_latitude
      • customizationoptionvalueprefix

        protected Integer customizationoptionvalueprefix
      • address2_upszone

        protected String address2_upszone
      • address2_country

        protected String address2_country
      • _modifiedonbehalfby_value

        protected String _modifiedonbehalfby_value
      • entityimageid

        protected String entityimageid
      • address2_telephone1

        protected String address2_telephone1
      • address1_longitude

        protected Double address1_longitude
      • address1_utcoffset

        protected Integer address1_utcoffset
      • address2_telephone2

        protected String address2_telephone2
      • address2_addresstypecode

        protected Integer address2_addresstypecode
      • _modifiedby_value

        protected String _modifiedby_value
      • address1_county

        protected String address1_county
      • address2_telephone3

        protected String address2_telephone3
      • _createdonbehalfby_value

        protected String _createdonbehalfby_value
      • emailaddress

        protected String emailaddress
      • address1_stateorprovince

        protected String address1_stateorprovince
      • uniquename

        protected String uniquename
      • address1_city

        protected String address1_city
      • _organizationid_value

        protected String _organizationid_value
      • address1_telephone2

        protected String address1_telephone2
      • entityimage

        protected byte[] entityimage
      • address2_postofficebox

        protected String address2_postofficebox
      • supportingwebsiteurl

        protected String supportingwebsiteurl
    • Constructor Detail

      • Publisher

        protected Publisher()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Crmbaseentity
      • builderPublisher

        public static Publisher.Builder builderPublisher()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Crmbaseentity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Crmbaseentity
      • withFriendlyname

        public Publisher withFriendlyname​(String friendlyname)
      • withPublisherid

        public Publisher withPublisherid​(String publisherid)
      • withAddress2_utcoffset

        public Publisher withAddress2_utcoffset​(Integer address2_utcoffset)
      • withAddress1_line2

        public Publisher withAddress1_line2​(String address1_line2)
      • withAddress1_upszone

        public Publisher withAddress1_upszone​(String address1_upszone)
      • withAddress2_county

        public Publisher withAddress2_county​(String address2_county)
      • getAddress1_shippingmethodcode

        public Optional<Integer> getAddress1_shippingmethodcode()
      • withAddress1_shippingmethodcode

        public Publisher withAddress1_shippingmethodcode​(Integer address1_shippingmethodcode)
      • getAddress1_telephone3

        public Optional<String> getAddress1_telephone3()
      • withAddress1_telephone3

        public Publisher withAddress1_telephone3​(String address1_telephone3)
      • getEntityimage_timestamp

        public Optional<Long> getEntityimage_timestamp()
      • withEntityimage_timestamp

        public Publisher withEntityimage_timestamp​(Long entityimage_timestamp)
      • withAddress1_country

        public Publisher withAddress1_country​(String address1_country)
      • getPinpointpublisherdefaultlocale

        public Optional<String> getPinpointpublisherdefaultlocale()
      • withPinpointpublisherdefaultlocale

        public Publisher withPinpointpublisherdefaultlocale​(String pinpointpublisherdefaultlocale)
      • withAddress2_name

        public Publisher withAddress2_name​(String address2_name)
      • getAddress1_telephone1

        public Optional<String> getAddress1_telephone1()
      • withAddress1_telephone1

        public Publisher withAddress1_telephone1​(String address1_telephone1)
      • withDescription

        public Publisher withDescription​(String description)
      • getAddress1_addressid

        public Optional<String> getAddress1_addressid()
      • withAddress1_addressid

        public Publisher withAddress1_addressid​(String address1_addressid)
      • getAddress2_stateorprovince

        public Optional<String> getAddress2_stateorprovince()
      • withAddress2_stateorprovince

        public Publisher withAddress2_stateorprovince​(String address2_stateorprovince)
      • getAddress1_addresstypecode

        public Optional<Integer> getAddress1_addresstypecode()
      • withAddress1_addresstypecode

        public Publisher withAddress1_addresstypecode​(Integer address1_addresstypecode)
      • getAddress2_addressid

        public Optional<String> getAddress2_addressid()
      • withAddress2_addressid

        public Publisher withAddress2_addressid​(String address2_addressid)
      • withAddress2_city

        public Publisher withAddress2_city​(String address2_city)
      • withAddress1_line3

        public Publisher withAddress1_line3​(String address1_line3)
      • withAddress2_line1

        public Publisher withAddress2_line1​(String address2_line1)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Publisher withVersionnumber​(Long versionnumber)
      • getPinpointpublisherid

        public Optional<Long> getPinpointpublisherid()
      • withPinpointpublisherid

        public Publisher withPinpointpublisherid​(Long pinpointpublisherid)
      • with_createdby_value

        public Publisher with_createdby_value​(String _createdby_value)
      • getCustomizationprefix

        public Optional<String> getCustomizationprefix()
      • withCustomizationprefix

        public Publisher withCustomizationprefix​(String customizationprefix)
      • withAddress2_line3

        public Publisher withAddress2_line3​(String address2_line3)
      • getAddress2_longitude

        public Optional<Double> getAddress2_longitude()
      • withAddress2_longitude

        public Publisher withAddress2_longitude​(Double address2_longitude)
      • withAddress1_fax

        public Publisher withAddress1_fax​(String address1_fax)
      • withEntityimage_url

        public Publisher withEntityimage_url​(String entityimage_url)
      • withAddress2_fax

        public Publisher withAddress2_fax​(String address2_fax)
      • withAddress1_line1

        public Publisher withAddress1_line1​(String address1_line1)
      • getAddress2_shippingmethodcode

        public Optional<Integer> getAddress2_shippingmethodcode()
      • withAddress2_shippingmethodcode

        public Publisher withAddress2_shippingmethodcode​(Integer address2_shippingmethodcode)
      • withAddress2_line2

        public Publisher withAddress2_line2​(String address2_line2)
      • getAddress1_postalcode

        public Optional<String> getAddress1_postalcode()
      • withAddress1_postalcode

        public Publisher withAddress1_postalcode​(String address1_postalcode)
      • getAddress2_postalcode

        public Optional<String> getAddress2_postalcode()
      • withAddress2_postalcode

        public Publisher withAddress2_postalcode​(String address2_postalcode)
      • getAddress1_latitude

        public Optional<Double> getAddress1_latitude()
      • withAddress1_latitude

        public Publisher withAddress1_latitude​(Double address1_latitude)
      • withAddress1_name

        public Publisher withAddress1_name​(String address1_name)
      • getAddress1_postofficebox

        public Optional<String> getAddress1_postofficebox()
      • withAddress1_postofficebox

        public Publisher withAddress1_postofficebox​(String address1_postofficebox)
      • getAddress2_latitude

        public Optional<Double> getAddress2_latitude()
      • withAddress2_latitude

        public Publisher withAddress2_latitude​(Double address2_latitude)
      • getCustomizationoptionvalueprefix

        public Optional<Integer> getCustomizationoptionvalueprefix()
      • withCustomizationoptionvalueprefix

        public Publisher withCustomizationoptionvalueprefix​(Integer customizationoptionvalueprefix)
      • withAddress2_upszone

        public Publisher withAddress2_upszone​(String address2_upszone)
      • withAddress2_country

        public Publisher withAddress2_country​(String address2_country)
      • get_modifiedonbehalfby_value

        public Optional<String> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Publisher with_modifiedonbehalfby_value​(String _modifiedonbehalfby_value)
      • withEntityimageid

        public Publisher withEntityimageid​(String entityimageid)
      • getAddress2_telephone1

        public Optional<String> getAddress2_telephone1()
      • withAddress2_telephone1

        public Publisher withAddress2_telephone1​(String address2_telephone1)
      • getAddress1_longitude

        public Optional<Double> getAddress1_longitude()
      • withAddress1_longitude

        public Publisher withAddress1_longitude​(Double address1_longitude)
      • withAddress1_utcoffset

        public Publisher withAddress1_utcoffset​(Integer address1_utcoffset)
      • getAddress2_telephone2

        public Optional<String> getAddress2_telephone2()
      • withAddress2_telephone2

        public Publisher withAddress2_telephone2​(String address2_telephone2)
      • getAddress2_addresstypecode

        public Optional<Integer> getAddress2_addresstypecode()
      • withAddress2_addresstypecode

        public Publisher withAddress2_addresstypecode​(Integer address2_addresstypecode)
      • get_modifiedby_value

        public Optional<String> get_modifiedby_value()
      • with_modifiedby_value

        public Publisher with_modifiedby_value​(String _modifiedby_value)
      • withAddress1_county

        public Publisher withAddress1_county​(String address1_county)
      • getAddress2_telephone3

        public Optional<String> getAddress2_telephone3()
      • withAddress2_telephone3

        public Publisher withAddress2_telephone3​(String address2_telephone3)
      • get_createdonbehalfby_value

        public Optional<String> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Publisher with_createdonbehalfby_value​(String _createdonbehalfby_value)
      • withEmailaddress

        public Publisher withEmailaddress​(String emailaddress)
      • getAddress1_stateorprovince

        public Optional<String> getAddress1_stateorprovince()
      • withAddress1_stateorprovince

        public Publisher withAddress1_stateorprovince​(String address1_stateorprovince)
      • withAddress1_city

        public Publisher withAddress1_city​(String address1_city)
      • get_organizationid_value

        public Optional<String> get_organizationid_value()
      • with_organizationid_value

        public Publisher with_organizationid_value​(String _organizationid_value)
      • getAddress1_telephone2

        public Optional<String> getAddress1_telephone2()
      • withAddress1_telephone2

        public Publisher withAddress1_telephone2​(String address1_telephone2)
      • getEntityimage

        public Optional<byte[]> getEntityimage()
      • withEntityimage

        public Publisher withEntityimage​(byte[] entityimage)
      • getAddress2_postofficebox

        public Optional<String> getAddress2_postofficebox()
      • withAddress2_postofficebox

        public Publisher withAddress2_postofficebox​(String address2_postofficebox)
      • getSupportingwebsiteurl

        public Optional<String> getSupportingwebsiteurl()
      • withSupportingwebsiteurl

        public Publisher withSupportingwebsiteurl​(String supportingwebsiteurl)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Crmbaseentity
      • patch

        public Publisher patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Crmbaseentity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public Publisher put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Crmbaseentity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected