public class Tag extends Object implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Tag.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.internal.ChangedFields |
changedFields |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected String |
projectSK |
protected String |
tagId |
protected String |
tagName |
protected Integer |
tagSK |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
Tag() |
| Modifier and Type | Method and Description |
|---|---|
static Tag.Builder |
builder()
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() |
ProjectRequest |
getProject() |
Optional<String> |
getProjectSK() |
Optional<String> |
getTagId() |
Optional<String> |
getTagName() |
Optional<Integer> |
getTagSK() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Tag |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Tag |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Tag |
withProjectSK(String projectSK) |
Tag |
withTagId(String tagId) |
Tag |
withTagName(String tagName) |
Tag |
withTagSK(Integer tagSK) |
Tag |
withUnmappedField(String name,
String value) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected com.github.davidmoten.odata.client.internal.ChangedFields changedFields
protected String odataType
protected Integer tagSK
protected String projectSK
protected String tagId
protected String tagName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic static Tag.Builder builder()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic ProjectRequest getProject()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic Tag patch()
this with changed fields reset.this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Tag put()
this
with changed fields reset (they were ignored anyway).this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedCopyright © 2018–2021. All rights reserved.