Package microsoft.dynamics.crm.entity
Class Businessunitnewsarticle
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Businessunitnewsarticle
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Businessunitnewsarticle extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBusinessunitnewsarticle.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_createdby_valueprotected UUID_createdonbehalfby_valueprotected UUID_modifiedby_valueprotected UUID_modifiedonbehalfby_valueprotected UUID_organizationid_valueprotected OffsetDateTimeactiveonprotected OffsetDateTimeactiveuntilprotected Stringarticletitleprotected Integerarticletypecodeprotected Stringarticleurlprotected UUIDbusinessunitnewsarticleidprotected OffsetDateTimecreatedonprotected Integerimportsequencenumberprotected OffsetDateTimemodifiedonprotected Stringnewsarticleprotected OffsetDateTimeoverriddencreatedonprotected Booleanshowonhomepageprotected Integertimezoneruleversionnumberprotected Integerutcconversiontimezonecodeprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBusinessunitnewsarticle()
-
Method Summary
-
-
-
Field Detail
-
newsarticle
protected String newsarticle
-
articleurl
protected String articleurl
-
_organizationid_value
protected UUID _organizationid_value
-
businessunitnewsarticleid
protected UUID businessunitnewsarticleid
-
_modifiedby_value
protected UUID _modifiedby_value
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
activeon
protected OffsetDateTime activeon
-
createdon
protected OffsetDateTime createdon
-
versionnumber
protected Long versionnumber
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
activeuntil
protected OffsetDateTime activeuntil
-
importsequencenumber
protected Integer importsequencenumber
-
articletypecode
protected Integer articletypecode
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
articletitle
protected String articletitle
-
_createdby_value
protected UUID _createdby_value
-
showonhomepage
protected Boolean showonhomepage
-
modifiedon
protected OffsetDateTime modifiedon
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderBusinessunitnewsarticle
public static Businessunitnewsarticle.Builder builderBusinessunitnewsarticle()
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
-
withNewsarticle
public Businessunitnewsarticle withNewsarticle(String newsarticle)
-
withArticleurl
public Businessunitnewsarticle withArticleurl(String articleurl)
-
with_organizationid_value
public Businessunitnewsarticle with_organizationid_value(UUID _organizationid_value)
-
withBusinessunitnewsarticleid
public Businessunitnewsarticle withBusinessunitnewsarticleid(UUID businessunitnewsarticleid)
-
with_modifiedby_value
public Businessunitnewsarticle with_modifiedby_value(UUID _modifiedby_value)
-
withTimezoneruleversionnumber
public Businessunitnewsarticle withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
getActiveon
public Optional<OffsetDateTime> getActiveon()
-
withActiveon
public Businessunitnewsarticle withActiveon(OffsetDateTime activeon)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Businessunitnewsarticle withCreatedon(OffsetDateTime createdon)
-
withVersionnumber
public Businessunitnewsarticle withVersionnumber(Long versionnumber)
-
with_createdonbehalfby_value
public Businessunitnewsarticle with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
getActiveuntil
public Optional<OffsetDateTime> getActiveuntil()
-
withActiveuntil
public Businessunitnewsarticle withActiveuntil(OffsetDateTime activeuntil)
-
withImportsequencenumber
public Businessunitnewsarticle withImportsequencenumber(Integer importsequencenumber)
-
withArticletypecode
public Businessunitnewsarticle withArticletypecode(Integer articletypecode)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Businessunitnewsarticle withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
withArticletitle
public Businessunitnewsarticle withArticletitle(String articletitle)
-
with_createdby_value
public Businessunitnewsarticle with_createdby_value(UUID _createdby_value)
-
withShowonhomepage
public Businessunitnewsarticle withShowonhomepage(Boolean showonhomepage)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Businessunitnewsarticle withModifiedon(OffsetDateTime modifiedon)
-
with_modifiedonbehalfby_value
public Businessunitnewsarticle with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withUtcconversiontimezonecode
public Businessunitnewsarticle withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
withUnmappedField
public Businessunitnewsarticle withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getBusinessUnitNewsArticle_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getBusinessUnitNewsArticle_BulkDeleteFailures()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getBusinessUnitNewsArticle_AsyncOperations
public AsyncoperationCollectionRequest getBusinessUnitNewsArticle_AsyncOperations()
-
getBusinessUnitNewsArticle_ProcessSessions
public ProcesssessionCollectionRequest getBusinessUnitNewsArticle_ProcessSessions()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Businessunitnewsarticle 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 Businessunitnewsarticle 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
-
-