Package microsoft.dynamics.crm.entity
Class Connection
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Connection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Connection extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnection.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnection()
-
Method Summary
-
-
-
Field Detail
-
record1objecttypecode
protected Integer record1objecttypecode
-
_transactioncurrencyid_value
protected UUID _transactioncurrencyid_value
-
statecode
protected Integer statecode
-
_record1roleid_value
protected UUID _record1roleid_value
-
effectiveend
protected OffsetDateTime effectiveend
-
entityimage_url
protected String entityimage_url
-
name
protected String name
-
connectionid
protected UUID connectionid
-
exchangerate
protected BigDecimal exchangerate
-
_owningteam_value
protected UUID _owningteam_value
-
_createdby_value
protected UUID _createdby_value
-
_modifiedby_value
protected UUID _modifiedby_value
-
record2objecttypecode
protected Integer record2objecttypecode
-
_ownerid_value
protected UUID _ownerid_value
-
_owninguser_value
protected UUID _owninguser_value
-
_record1id_value
protected UUID _record1id_value
-
effectivestart
protected OffsetDateTime effectivestart
-
_relatedconnectionid_value
protected UUID _relatedconnectionid_value
-
modifiedon
protected OffsetDateTime modifiedon
-
description
protected String description
-
versionnumber
protected Long versionnumber
-
entityimageid
protected UUID entityimageid
-
entityimage_timestamp
protected Long entityimage_timestamp
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
statuscode
protected Integer statuscode
-
importsequencenumber
protected Integer importsequencenumber
-
_owningbusinessunit_value
protected UUID _owningbusinessunit_value
-
ismaster
protected Boolean ismaster
-
_record2id_value
protected UUID _record2id_value
-
_record2roleid_value
protected UUID _record2roleid_value
-
createdon
protected OffsetDateTime createdon
-
entityimage
protected byte[] entityimage
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderConnection
public static Connection.Builder builderConnection()
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
-
withRecord1objecttypecode
public Connection withRecord1objecttypecode(Integer record1objecttypecode)
-
with_transactioncurrencyid_value
public Connection with_transactioncurrencyid_value(UUID _transactioncurrencyid_value)
-
withStatecode
public Connection withStatecode(Integer statecode)
-
with_record1roleid_value
public Connection with_record1roleid_value(UUID _record1roleid_value)
-
getEffectiveend
public Optional<OffsetDateTime> getEffectiveend()
-
withEffectiveend
public Connection withEffectiveend(OffsetDateTime effectiveend)
-
withEntityimage_url
public Connection withEntityimage_url(String entityimage_url)
-
withName
public Connection withName(String name)
-
withConnectionid
public Connection withConnectionid(UUID connectionid)
-
getExchangerate
public Optional<BigDecimal> getExchangerate()
-
withExchangerate
public Connection withExchangerate(BigDecimal exchangerate)
-
with_owningteam_value
public Connection with_owningteam_value(UUID _owningteam_value)
-
with_createdby_value
public Connection with_createdby_value(UUID _createdby_value)
-
with_modifiedby_value
public Connection with_modifiedby_value(UUID _modifiedby_value)
-
withRecord2objecttypecode
public Connection withRecord2objecttypecode(Integer record2objecttypecode)
-
with_ownerid_value
public Connection with_ownerid_value(UUID _ownerid_value)
-
with_owninguser_value
public Connection with_owninguser_value(UUID _owninguser_value)
-
with_record1id_value
public Connection with_record1id_value(UUID _record1id_value)
-
getEffectivestart
public Optional<OffsetDateTime> getEffectivestart()
-
withEffectivestart
public Connection withEffectivestart(OffsetDateTime effectivestart)
-
with_relatedconnectionid_value
public Connection with_relatedconnectionid_value(UUID _relatedconnectionid_value)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Connection withModifiedon(OffsetDateTime modifiedon)
-
withDescription
public Connection withDescription(String description)
-
withVersionnumber
public Connection withVersionnumber(Long versionnumber)
-
withEntityimageid
public Connection withEntityimageid(UUID entityimageid)
-
withEntityimage_timestamp
public Connection withEntityimage_timestamp(Long entityimage_timestamp)
-
with_createdonbehalfby_value
public Connection with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Connection withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
with_modifiedonbehalfby_value
public Connection with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withStatuscode
public Connection withStatuscode(Integer statuscode)
-
withImportsequencenumber
public Connection withImportsequencenumber(Integer importsequencenumber)
-
with_owningbusinessunit_value
public Connection with_owningbusinessunit_value(UUID _owningbusinessunit_value)
-
withIsmaster
public Connection withIsmaster(Boolean ismaster)
-
with_record2id_value
public Connection with_record2id_value(UUID _record2id_value)
-
with_record2roleid_value
public Connection with_record2roleid_value(UUID _record2roleid_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Connection withCreatedon(OffsetDateTime createdon)
-
getEntityimage
public Optional<byte[]> getEntityimage()
-
withEntityimage
public Connection withEntityimage(byte[] entityimage)
-
withUnmappedField
public Connection withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getRecord1id_knowledgearticle
public KnowledgearticleRequest getRecord1id_knowledgearticle()
-
getRecord2id_knowledgearticle
public KnowledgearticleRequest getRecord2id_knowledgearticle()
-
getRecord1id_knowledgebaserecord
public KnowledgebaserecordRequest getRecord1id_knowledgebaserecord()
-
getRecord2id_knowledgebaserecord
public KnowledgebaserecordRequest getRecord2id_knowledgebaserecord()
-
getRecord1id_contact
public ContactRequest getRecord1id_contact()
-
getRecord2id_socialactivity
public SocialactivityRequest getRecord2id_socialactivity()
-
getRecord2id_task
public TaskRequest getRecord2id_task()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getRecord1id_systemuser
public SystemuserRequest getRecord1id_systemuser()
-
getTransactioncurrencyid
public TransactioncurrencyRequest getTransactioncurrencyid()
-
getRecord2id_account
public AccountRequest getRecord2id_account()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getRecord2id_systemuser
public SystemuserRequest getRecord2id_systemuser()
-
getRecord2id_team
public TeamRequest getRecord2id_team()
-
getRecord2id_letter
public LetterRequest getRecord2id_letter()
-
getRecord1id_email
public EmailRequest getRecord1id_email()
-
getRecord1id_socialprofile
public SocialprofileRequest getRecord1id_socialprofile()
-
getConnection_principalobjectattributeaccess
public PrincipalobjectattributeaccessCollectionRequest getConnection_principalobjectattributeaccess()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getRecord1id_task
public TaskRequest getRecord1id_task()
-
getRecord2id_email
public EmailRequest getRecord2id_email()
-
getRecord2id_socialprofile
public SocialprofileRequest getRecord2id_socialprofile()
-
getRecord1id_team
public TeamRequest getRecord1id_team()
-
getRecord2roleid
public ConnectionroleRequest getRecord2roleid()
-
getRecord2id_goal
public GoalRequest getRecord2id_goal()
-
getRecord1id_position
public PositionRequest getRecord1id_position()
-
getRecord1id_recurringappointmentmaster
public RecurringappointmentmasterRequest getRecord1id_recurringappointmentmaster()
-
getRecord1id_processsession
public ProcesssessionRequest getRecord1id_processsession()
-
getConnection_AsyncOperations
public AsyncoperationCollectionRequest getConnection_AsyncOperations()
-
getConnection_ProcessSessions
public ProcesssessionCollectionRequest getConnection_ProcessSessions()
-
getRecord1id_appointment
public AppointmentRequest getRecord1id_appointment()
-
getRecord2id_fax
public FaxRequest getRecord2id_fax()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getRelatedconnectionid
public ConnectionRequest getRelatedconnectionid()
-
getConnection_related_connection
public ConnectionCollectionRequest getConnection_related_connection()
-
getRecord2id_recurringappointmentmaster
public RecurringappointmentmasterRequest getRecord2id_recurringappointmentmaster()
-
getRecord1id_phonecall
public PhonecallRequest getRecord1id_phonecall()
-
getRecord2id_appointment
public AppointmentRequest getRecord2id_appointment()
-
getOwningbusinessunit
public BusinessunitRequest getOwningbusinessunit()
-
getRecord1id_goal
public GoalRequest getRecord1id_goal()
-
getRecord1id_socialactivity
public SocialactivityRequest getRecord1id_socialactivity()
-
getRecord1id_fax
public FaxRequest getRecord1id_fax()
-
getRecord2id_position
public PositionRequest getRecord2id_position()
-
getRecord1roleid
public ConnectionroleRequest getRecord1roleid()
-
getRecord1id_letter
public LetterRequest getRecord1id_letter()
-
getRecord2id_processsession
public ProcesssessionRequest getRecord2id_processsession()
-
getConnection_SyncErrors
public SyncerrorCollectionRequest getConnection_SyncErrors()
-
getRecord2id_activitypointer
public ActivitypointerRequest getRecord2id_activitypointer()
-
getRecord1id_account
public AccountRequest getRecord1id_account()
-
getOwnerid
public PrincipalRequest getOwnerid()
-
getRecord2id_contact
public ContactRequest getRecord2id_contact()
-
getRecord1id_activitypointer
public ActivitypointerRequest getRecord1id_activitypointer()
-
getRecord2id_phonecall
public PhonecallRequest getRecord2id_phonecall()
-
getRecord1id_territory
public TerritoryRequest getRecord1id_territory()
-
getRecord2id_territory
public TerritoryRequest getRecord2id_territory()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Connection 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 Connection 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
-
-