Package microsoft.dynamics.crm.entity
Class Publisheraddress
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Publisheraddress
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Publisheraddress extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPublisheraddress.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPublisheraddress()
-
Method Summary
-
-
-
Field Detail
-
postofficebox
protected String postofficebox
-
line3
protected String line3
-
publisheraddressid
protected UUID publisheraddressid
-
telephone1
protected String telephone1
-
importsequencenumber
protected Integer importsequencenumber
-
latitude
protected Double latitude
-
line1
protected String line1
-
longitude
protected Double longitude
-
primarycontactname
protected String primarycontactname
-
versionnumber
protected Long versionnumber
-
shippingmethodcode
protected Integer shippingmethodcode
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
country
protected String country
-
addresstypecode
protected Integer addresstypecode
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
utcoffset
protected Integer utcoffset
-
telephone3
protected String telephone3
-
name
protected String name
-
county
protected String county
-
line2
protected String line2
-
postalcode
protected String postalcode
-
_parentid_value
protected UUID _parentid_value
-
stateorprovince
protected String stateorprovince
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
freighttermscode
protected Integer freighttermscode
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
fax
protected String fax
-
_modifiedby_value
protected UUID _modifiedby_value
-
city
protected String city
-
createdon
protected OffsetDateTime createdon
-
telephone2
protected String telephone2
-
modifiedon
protected OffsetDateTime modifiedon
-
_createdby_value
protected UUID _createdby_value
-
upszone
protected String upszone
-
addressnumber
protected Integer addressnumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderPublisheraddress
public static Publisheraddress.Builder builderPublisheraddress()
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
withPostofficebox
public Publisheraddress withPostofficebox(String postofficebox)
-
withLine3
public Publisheraddress withLine3(String line3)
-
withPublisheraddressid
public Publisheraddress withPublisheraddressid(UUID publisheraddressid)
-
withTelephone1
public Publisheraddress withTelephone1(String telephone1)
-
withImportsequencenumber
public Publisheraddress withImportsequencenumber(Integer importsequencenumber)
-
withLatitude
public Publisheraddress withLatitude(Double latitude)
-
withLine1
public Publisheraddress withLine1(String line1)
-
withLongitude
public Publisheraddress withLongitude(Double longitude)
-
withPrimarycontactname
public Publisheraddress withPrimarycontactname(String primarycontactname)
-
withVersionnumber
public Publisheraddress withVersionnumber(Long versionnumber)
-
withShippingmethodcode
public Publisheraddress withShippingmethodcode(Integer shippingmethodcode)
-
withUtcconversiontimezonecode
public Publisheraddress withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
withCountry
public Publisheraddress withCountry(String country)
-
withAddresstypecode
public Publisheraddress withAddresstypecode(Integer addresstypecode)
-
with_createdonbehalfby_value
public Publisheraddress with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
withUtcoffset
public Publisheraddress withUtcoffset(Integer utcoffset)
-
withTelephone3
public Publisheraddress withTelephone3(String telephone3)
-
withName
public Publisheraddress withName(String name)
-
withCounty
public Publisheraddress withCounty(String county)
-
withLine2
public Publisheraddress withLine2(String line2)
-
withPostalcode
public Publisheraddress withPostalcode(String postalcode)
-
with_parentid_value
public Publisheraddress with_parentid_value(UUID _parentid_value)
-
withStateorprovince
public Publisheraddress withStateorprovince(String stateorprovince)
-
with_modifiedonbehalfby_value
public Publisheraddress with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withFreighttermscode
public Publisheraddress withFreighttermscode(Integer freighttermscode)
-
withTimezoneruleversionnumber
public Publisheraddress withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
withFax
public Publisheraddress withFax(String fax)
-
with_modifiedby_value
public Publisheraddress with_modifiedby_value(UUID _modifiedby_value)
-
withCity
public Publisheraddress withCity(String city)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Publisheraddress withCreatedon(OffsetDateTime createdon)
-
withTelephone2
public Publisheraddress withTelephone2(String telephone2)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Publisheraddress withModifiedon(OffsetDateTime modifiedon)
-
with_createdby_value
public Publisheraddress with_createdby_value(UUID _createdby_value)
-
withUpszone
public Publisheraddress withUpszone(String upszone)
-
withAddressnumber
public Publisheraddress withAddressnumber(Integer addressnumber)
-
withUnmappedField
public Publisheraddress withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getParentid
public PublisherRequest getParentid()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Publisheraddress patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Publisheraddress put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-