public class Branch extends Object implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Branch.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
analyticsUpdatedDate |
protected String |
branchName |
protected Integer |
branchSK |
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 |
repositoryId |
protected String |
repositoryUrl |
protected String |
repositoryVstsId |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
Branch() |
| Modifier and Type | Method and Description |
|---|---|
static Branch.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<OffsetDateTime> |
getAnalyticsUpdatedDate() |
Optional<String> |
getBranchName() |
Optional<Integer> |
getBranchSK() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getProjectSK() |
Optional<String> |
getRepositoryId() |
Optional<String> |
getRepositoryUrl() |
Optional<String> |
getRepositoryVstsId() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Branch |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Branch |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Branch |
withAnalyticsUpdatedDate(OffsetDateTime analyticsUpdatedDate) |
Branch |
withBranchName(String branchName) |
Branch |
withBranchSK(Integer branchSK) |
Branch |
withProjectSK(String projectSK) |
Branch |
withRepositoryId(String repositoryId) |
Branch |
withRepositoryUrl(String repositoryUrl) |
Branch |
withRepositoryVstsId(String repositoryVstsId) |
Branch |
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 String projectSK
protected Integer branchSK
protected String repositoryId
protected String branchName
protected String repositoryVstsId
protected OffsetDateTime analyticsUpdatedDate
protected String repositoryUrl
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic static Branch.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 Optional<OffsetDateTime> getAnalyticsUpdatedDate()
public Branch withAnalyticsUpdatedDate(OffsetDateTime analyticsUpdatedDate)
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic Branch patch()
this with changed fields reset.this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Branch 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.