Package microsoft.dynamics.crm.entity
Class Savedquery
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Savedquery
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Savedquery extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSavedquery.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSavedquery()
-
Method Summary
-
-
-
Field Detail
-
offlinesqlquery
protected String offlinesqlquery
-
ismanaged
protected Boolean ismanaged
-
solutionid
protected UUID solutionid
-
versionnumber
protected Long versionnumber
-
statecode
protected Integer statecode
-
_createdby_value
protected UUID _createdby_value
-
isuserdefined
protected Boolean isuserdefined
-
columnsetxml
protected String columnsetxml
-
organizationtaborder
protected Integer organizationtaborder
-
isdefault
protected Boolean isdefault
-
querytype
protected Integer querytype
-
conditionalformatting
protected String conditionalformatting
-
_modifiedby_value
protected UUID _modifiedby_value
-
queryapi
protected String queryapi
-
advancedgroupby
protected String advancedgroupby
-
statuscode
protected Integer statuscode
-
isquickfindquery
protected Boolean isquickfindquery
-
_organizationid_value
protected UUID _organizationid_value
-
description
protected String description
-
fetchxml
protected String fetchxml
-
createdon
protected OffsetDateTime createdon
-
savedqueryidunique
protected UUID savedqueryidunique
-
layoutxml
protected String layoutxml
-
layoutjson
protected String layoutjson
-
returnedtypecode
protected String returnedtypecode
-
name
protected String name
-
iscustomizable
protected BooleanManagedProperty iscustomizable
-
queryappusage
protected Integer queryappusage
-
componentstate
protected Integer componentstate
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
savedqueryid
protected UUID savedqueryid
-
overwritetime
protected OffsetDateTime overwritetime
-
introducedversion
protected String introducedversion
-
iscustom
protected Boolean iscustom
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
modifiedon
protected OffsetDateTime modifiedon
-
canbedeleted
protected BooleanManagedProperty canbedeleted
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderSavedquery
public static Savedquery.Builder builderSavedquery()
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
-
withOfflinesqlquery
public Savedquery withOfflinesqlquery(String offlinesqlquery)
-
withIsmanaged
public Savedquery withIsmanaged(Boolean ismanaged)
-
withSolutionid
public Savedquery withSolutionid(UUID solutionid)
-
withVersionnumber
public Savedquery withVersionnumber(Long versionnumber)
-
withStatecode
public Savedquery withStatecode(Integer statecode)
-
with_createdby_value
public Savedquery with_createdby_value(UUID _createdby_value)
-
withIsuserdefined
public Savedquery withIsuserdefined(Boolean isuserdefined)
-
withColumnsetxml
public Savedquery withColumnsetxml(String columnsetxml)
-
withOrganizationtaborder
public Savedquery withOrganizationtaborder(Integer organizationtaborder)
-
withIsdefault
public Savedquery withIsdefault(Boolean isdefault)
-
withQuerytype
public Savedquery withQuerytype(Integer querytype)
-
withConditionalformatting
public Savedquery withConditionalformatting(String conditionalformatting)
-
with_modifiedby_value
public Savedquery with_modifiedby_value(UUID _modifiedby_value)
-
withQueryapi
public Savedquery withQueryapi(String queryapi)
-
withAdvancedgroupby
public Savedquery withAdvancedgroupby(String advancedgroupby)
-
withStatuscode
public Savedquery withStatuscode(Integer statuscode)
-
withIsquickfindquery
public Savedquery withIsquickfindquery(Boolean isquickfindquery)
-
with_organizationid_value
public Savedquery with_organizationid_value(UUID _organizationid_value)
-
withDescription
public Savedquery withDescription(String description)
-
withFetchxml
public Savedquery withFetchxml(String fetchxml)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Savedquery withCreatedon(OffsetDateTime createdon)
-
withSavedqueryidunique
public Savedquery withSavedqueryidunique(UUID savedqueryidunique)
-
withLayoutxml
public Savedquery withLayoutxml(String layoutxml)
-
withLayoutjson
public Savedquery withLayoutjson(String layoutjson)
-
withReturnedtypecode
public Savedquery withReturnedtypecode(String returnedtypecode)
-
withName
public Savedquery withName(String name)
-
getIscustomizable
public Optional<BooleanManagedProperty> getIscustomizable()
-
withIscustomizable
public Savedquery withIscustomizable(BooleanManagedProperty iscustomizable)
-
withQueryappusage
public Savedquery withQueryappusage(Integer queryappusage)
-
withComponentstate
public Savedquery withComponentstate(Integer componentstate)
-
with_modifiedonbehalfby_value
public Savedquery with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withSavedqueryid
public Savedquery withSavedqueryid(UUID savedqueryid)
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Savedquery withOverwritetime(OffsetDateTime overwritetime)
-
withIntroducedversion
public Savedquery withIntroducedversion(String introducedversion)
-
withIscustom
public Savedquery withIscustom(Boolean iscustom)
-
with_createdonbehalfby_value
public Savedquery with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Savedquery withModifiedon(OffsetDateTime modifiedon)
-
getCanbedeleted
public Optional<BooleanManagedProperty> getCanbedeleted()
-
withCanbedeleted
public Savedquery withCanbedeleted(BooleanManagedProperty canbedeleted)
-
withUnmappedField
public Savedquery withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getSavedQuery_SyncErrors
public SyncerrorCollectionRequest getSavedQuery_SyncErrors()
-
getSavedQuery_AsyncOperations
public AsyncoperationCollectionRequest getSavedQuery_AsyncOperations()
-
getSavedQuery_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getSavedQuery_BulkDeleteFailures()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getLk_mobileofflineprofileitem_savedquery
public MobileofflineprofileitemCollectionRequest getLk_mobileofflineprofileitem_savedquery()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Savedquery 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 Savedquery 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<Savedquery> retrieveUnpublished()
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-