Package microsoft.dynamics.crm.entity
Class Queuemembership
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Queuemembership
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Queuemembership extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueuemembership.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUIDqueueidprotected UUIDqueuemembershipidprotected UUIDsystemuseridprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQueuemembership()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Queuemembership.BuilderbuilderQueuemembership()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<UUID>getQueueid()Optional<UUID>getQueuemembershipid()Optional<UUID>getSystemuserid()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Long>getVersionnumber()StringodataTypeName()Queuemembershippatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Queuemembershipput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()QueuemembershipwithQueueid(UUID queueid)QueuemembershipwithQueuemembershipid(UUID queuemembershipid)QueuemembershipwithSystemuserid(UUID systemuserid)QueuemembershipwithUnmappedField(String name, Object value)QueuemembershipwithVersionnumber(Long versionnumber)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderQueuemembership
public static Queuemembership.Builder builderQueuemembership()
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
-
withQueueid
public Queuemembership withQueueid(UUID queueid)
-
withQueuemembershipid
public Queuemembership withQueuemembershipid(UUID queuemembershipid)
-
withVersionnumber
public Queuemembership withVersionnumber(Long versionnumber)
-
withSystemuserid
public Queuemembership withSystemuserid(UUID systemuserid)
-
withUnmappedField
public Queuemembership withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Queuemembership 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 Queuemembership 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
-
-