Package odata.msgraph.client.entity
Class AppLogCollectionRequest
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.AppLogCollectionRequest
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AppLogCollectionRequest extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity for AppLogCollectionRequest contains all logs values.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppLogCollectionRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecompletedDateTimeprotected List<String>customLogFoldersprotected StringcustomLogFoldersNextLinkprotected StringerrorMessageprotected AppLogUploadStatestatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppLogCollectionRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppLogCollectionRequest.BuilderbuilderAppLogCollectionRequest()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.ActionRequestReturningNonCollectionUnwrapped<AppLogCollectionDownloadDetails>createDownloadUrl()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCompletedDateTime()“Time at which the upload log request reached a completed state if not completed yet NULL will be returned.”com.github.davidmoten.odata.client.CollectionPage<String>getCustomLogFolders()“List of log folders.”com.github.davidmoten.odata.client.CollectionPage<String>getCustomLogFolders(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of log folders.”Optional<String>getErrorMessage()“Indicates error message if any during the upload process.”Optional<AppLogUploadState>getStatus()“Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AppLogCollectionRequestpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AppLogCollectionRequestput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AppLogCollectionRequestwithCompletedDateTime(OffsetDateTime completedDateTime)Returns an immutable copy ofthiswith just thecompletedDateTimefield changed.AppLogCollectionRequestwithCustomLogFolders(List<String> customLogFolders)Returns an immutable copy ofthiswith just thecustomLogFoldersfield changed.AppLogCollectionRequestwithErrorMessage(String errorMessage)Returns an immutable copy ofthiswith just theerrorMessagefield changed.AppLogCollectionRequestwithStatus(AppLogUploadState status)Returns an immutable copy ofthiswith just thestatusfield changed.AppLogCollectionRequestwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
completedDateTime
protected OffsetDateTime completedDateTime
-
customLogFoldersNextLink
protected String customLogFoldersNextLink
-
errorMessage
protected String errorMessage
-
status
protected AppLogUploadState status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAppLogCollectionRequest
public static AppLogCollectionRequest.Builder builderAppLogCollectionRequest()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCompletedDateTime
public Optional<OffsetDateTime> getCompletedDateTime()
“Time at which the upload log request reached a completed state if not completed yet NULL will be returned.”- Returns:
- property completedDateTime
-
withCompletedDateTime
public AppLogCollectionRequest withCompletedDateTime(OffsetDateTime completedDateTime)
Returns an immutable copy ofthiswith just thecompletedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Time at which the upload log request reached a completed state if not completed yet NULL will be returned.”
- Parameters:
completedDateTime- new value ofcompletedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompletedDateTimefield changed
-
getCustomLogFolders
public com.github.davidmoten.odata.client.CollectionPage<String> getCustomLogFolders()
“List of log folders.”- Returns:
- property customLogFolders
-
withCustomLogFolders
public AppLogCollectionRequest withCustomLogFolders(List<String> customLogFolders)
Returns an immutable copy ofthiswith just thecustomLogFoldersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“List of log folders.”
- Parameters:
customLogFolders- new value ofcustomLogFoldersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomLogFoldersfield changed
-
getCustomLogFolders
public com.github.davidmoten.odata.client.CollectionPage<String> getCustomLogFolders(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of log folders.”- Parameters:
options- specify connect and read timeouts- Returns:
- property customLogFolders
-
getErrorMessage
public Optional<String> getErrorMessage()
“Indicates error message if any during the upload process.”- Returns:
- property errorMessage
-
withErrorMessage
public AppLogCollectionRequest withErrorMessage(String errorMessage)
Returns an immutable copy ofthiswith just theerrorMessagefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates error message if any during the upload process.”
- Parameters:
errorMessage- new value oferrorMessagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorMessagefield changed
-
getStatus
public Optional<AppLogUploadState> getStatus()
“Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending”- Returns:
- property status
-
withStatus
public AppLogCollectionRequest withStatus(AppLogUploadState status)
Returns an immutable copy ofthiswith just thestatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
withUnmappedField
public AppLogCollectionRequest withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AppLogCollectionRequest patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AppLogCollectionRequest put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
createDownloadUrl
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<AppLogCollectionDownloadDetails> createDownloadUrl()
-
-