Package microsoft.dynamics.crm.entity
Class Webresource
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Webresource
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Webresource extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebresource.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWebresource()
-
Method Summary
-
-
-
Field Detail
-
overwritetime
protected OffsetDateTime overwritetime
-
solutionid
protected UUID solutionid
-
versionnumber
protected Long versionnumber
-
componentstate
protected Integer componentstate
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
_modifiedby_value
protected UUID _modifiedby_value
-
webresourcetype
protected Integer webresourcetype
-
ishidden
protected BooleanManagedProperty ishidden
-
description
protected String description
-
canbedeleted
protected BooleanManagedProperty canbedeleted
-
introducedversion
protected String introducedversion
-
content
protected String content
-
content_binary
protected byte[] content_binary
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
modifiedon
protected OffsetDateTime modifiedon
-
languagecode
protected Integer languagecode
-
contentjson
protected String contentjson
-
_createdby_value
protected UUID _createdby_value
-
isenabledformobileclient
protected Boolean isenabledformobileclient
-
webresourceidunique
protected UUID webresourceidunique
-
webresourceid
protected UUID webresourceid
-
_organizationid_value
protected UUID _organizationid_value
-
iscustomizable
protected BooleanManagedProperty iscustomizable
-
dependencyxml
protected String dependencyxml
-
silverlightversion
protected String silverlightversion
-
ismanaged
protected Boolean ismanaged
-
createdon
protected OffsetDateTime createdon
-
isavailableformobileoffline
protected Boolean isavailableformobileoffline
-
displayname
protected String displayname
-
name
protected String name
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderWebresource
public static Webresource.Builder builderWebresource()
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
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Webresource withOverwritetime(OffsetDateTime overwritetime)
-
withSolutionid
public Webresource withSolutionid(UUID solutionid)
-
withVersionnumber
public Webresource withVersionnumber(Long versionnumber)
-
withComponentstate
public Webresource withComponentstate(Integer componentstate)
-
with_modifiedonbehalfby_value
public Webresource with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
with_modifiedby_value
public Webresource with_modifiedby_value(UUID _modifiedby_value)
-
withWebresourcetype
public Webresource withWebresourcetype(Integer webresourcetype)
-
getIshidden
public Optional<BooleanManagedProperty> getIshidden()
-
withIshidden
public Webresource withIshidden(BooleanManagedProperty ishidden)
-
withDescription
public Webresource withDescription(String description)
-
getCanbedeleted
public Optional<BooleanManagedProperty> getCanbedeleted()
-
withCanbedeleted
public Webresource withCanbedeleted(BooleanManagedProperty canbedeleted)
-
withIntroducedversion
public Webresource withIntroducedversion(String introducedversion)
-
withContent
public Webresource withContent(String content)
-
getContent_binary
public Optional<byte[]> getContent_binary()
-
withContent_binary
public Webresource withContent_binary(byte[] content_binary)
-
with_createdonbehalfby_value
public Webresource with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Webresource withModifiedon(OffsetDateTime modifiedon)
-
withLanguagecode
public Webresource withLanguagecode(Integer languagecode)
-
withContentjson
public Webresource withContentjson(String contentjson)
-
with_createdby_value
public Webresource with_createdby_value(UUID _createdby_value)
-
withIsenabledformobileclient
public Webresource withIsenabledformobileclient(Boolean isenabledformobileclient)
-
withWebresourceidunique
public Webresource withWebresourceidunique(UUID webresourceidunique)
-
withWebresourceid
public Webresource withWebresourceid(UUID webresourceid)
-
with_organizationid_value
public Webresource with_organizationid_value(UUID _organizationid_value)
-
getIscustomizable
public Optional<BooleanManagedProperty> getIscustomizable()
-
withIscustomizable
public Webresource withIscustomizable(BooleanManagedProperty iscustomizable)
-
withDependencyxml
public Webresource withDependencyxml(String dependencyxml)
-
withSilverlightversion
public Webresource withSilverlightversion(String silverlightversion)
-
withIsmanaged
public Webresource withIsmanaged(Boolean ismanaged)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Webresource withCreatedon(OffsetDateTime createdon)
-
withIsavailableformobileoffline
public Webresource withIsavailableformobileoffline(Boolean isavailableformobileoffline)
-
withDisplayname
public Webresource withDisplayname(String displayname)
-
withName
public Webresource withName(String name)
-
withUnmappedField
public Webresource withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getSolution_configuration_webresource
public SolutionCollectionRequest getSolution_configuration_webresource()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getWebresource_userqueryvisualizations
public UserqueryvisualizationCollectionRequest getWebresource_userqueryvisualizations()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getWebresource_savedqueryvisualizations
public SavedqueryvisualizationCollectionRequest getWebresource_savedqueryvisualizations()
-
getLk_theme_logoid
public ThemeCollectionRequest getLk_theme_logoid()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Webresource 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 Webresource 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
-
retrieveUnpublished
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<Webresource> retrieveUnpublished()
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-