public class Relationship extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Relationship.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
componentstate |
protected String |
entitykeyid |
protected String |
name |
protected OffsetDateTime |
overwritetime |
protected String |
relationshipid |
protected String |
solutionid |
changedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Relationship() |
| Modifier and Type | Method and Description |
|---|---|
static Relationship.Builder |
builderRelationship()
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.ChangedFields |
getChangedFields() |
Optional<Integer> |
getComponentstate() |
Optional<String> |
getEntitykeyid() |
Optional<String> |
getName() |
Optional<OffsetDateTime> |
getOverwritetime() |
RelationshipattributeCollectionRequest |
getRelationship_relationshipattribute() |
Optional<String> |
getRelationshipid() |
Optional<String> |
getSolutionid() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Relationship |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Relationship |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Relationship |
withComponentstate(Integer componentstate) |
Relationship |
withEntitykeyid(String entitykeyid) |
Relationship |
withName(String name) |
Relationship |
withOverwritetime(OffsetDateTime overwritetime) |
Relationship |
withRelationshipid(String relationshipid) |
Relationship |
withSolutionid(String solutionid) |
Relationship |
withUnmappedField(String name,
String value) |
protected Integer componentstate
protected String solutionid
protected String entitykeyid
protected OffsetDateTime overwritetime
protected String relationshipid
protected String name
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Crmbaseentitypublic static Relationship.Builder builderRelationship()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Crmbaseentitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Crmbaseentitypublic Relationship withComponentstate(Integer componentstate)
public Relationship withSolutionid(String solutionid)
public Relationship withEntitykeyid(String entitykeyid)
public Optional<OffsetDateTime> getOverwritetime()
public Relationship withOverwritetime(OffsetDateTime overwritetime)
public Relationship withRelationshipid(String relationshipid)
public Relationship withName(String name)
public Relationship withUnmappedField(String name, String value)
withUnmappedField in class Crmbaseentitypublic RelationshipattributeCollectionRequest getRelationship_relationshipattribute()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Crmbaseentitypublic Relationship patch()
this with changed fields reset.patch in class Crmbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Relationship put()
this
with changed fields reset (they were ignored anyway).put in class Crmbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class CrmbaseentityCopyright © 2018–2020. All rights reserved.