Package microsoft.dynamics.crm.entity
Class Metric
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Metric
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Metric extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetric.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 Integeramountdatatypeprotected OffsetDateTimecreatedonprotected Stringdescriptionprotected Integerimportsequencenumberprotected Booleanisamountprotected Booleanisstretchtrackedprotected UUIDmetricidprotected OffsetDateTimemodifiedonprotected Stringnameprotected OffsetDateTimeoverriddencreatedonprotected Integerstatecodeprotected Integerstatuscodeprotected Integertimezoneruleversionnumberprotected Integerutcconversiontimezonecodeprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMetric()
-
Method Summary
-
-
-
Field Detail
-
modifiedon
protected OffsetDateTime modifiedon
-
metricid
protected UUID metricid
-
_modifiedby_value
protected UUID _modifiedby_value
-
statecode
protected Integer statecode
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
isstretchtracked
protected Boolean isstretchtracked
-
_createdby_value
protected UUID _createdby_value
-
isamount
protected Boolean isamount
-
statuscode
protected Integer statuscode
-
importsequencenumber
protected Integer importsequencenumber
-
amountdatatype
protected Integer amountdatatype
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
versionnumber
protected Long versionnumber
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
name
protected String name
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
_organizationid_value
protected UUID _organizationid_value
-
createdon
protected OffsetDateTime createdon
-
description
protected String description
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderMetric
public static Metric.Builder builderMetric()
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
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Metric withModifiedon(OffsetDateTime modifiedon)
-
with_modifiedonbehalfby_value
public Metric with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
with_createdonbehalfby_value
public Metric with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
withTimezoneruleversionnumber
public Metric withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
withUtcconversiontimezonecode
public Metric withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Metric withCreatedon(OffsetDateTime createdon)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Metric withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
withUnmappedField
public Metric withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getMetric_goal
public GoalCollectionRequest getMetric_goal()
-
getMetric_rollupfield
public RollupfieldCollectionRequest getMetric_rollupfield()
-
getMetric_ProcessSessions
public ProcesssessionCollectionRequest getMetric_ProcessSessions()
-
getMetric_AsyncOperations
public AsyncoperationCollectionRequest getMetric_AsyncOperations()
-
getMetric_SyncErrors
public SyncerrorCollectionRequest getMetric_SyncErrors()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Metric 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 Metric 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
-
-