Class RawS3ObjectsClient
- java.lang.Object
-
- com.chrt.api.resources.billing.lineitems.s3objects.RawS3ObjectsClient
-
public class RawS3ObjectsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawS3ObjectsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<java.lang.Boolean>addV1(java.lang.String lineItemId, java.io.File file, BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost request)Uploads a file to a line item.ChrtApiHttpResponse<java.lang.Boolean>addV1(java.lang.String lineItemId, java.io.File file, BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost request, RequestOptions requestOptions)Uploads a file to a line item.ChrtApiHttpResponse<java.lang.Boolean>deleteV1(java.lang.String lineItemS3ObjectMetadataId)Deletes an S3 object metadata and the associated S3 object from a line item.ChrtApiHttpResponse<java.lang.Boolean>deleteV1(java.lang.String lineItemS3ObjectMetadataId, RequestOptions requestOptions)Deletes an S3 object metadata and the associated S3 object from a line item.ChrtApiHttpResponse<LineItemS3ObjectMetadata1>getS3ObjectMetadataV1(java.lang.String lineItemS3ObjectMetadataId)Retrieves metadata for a line item S3 object.ChrtApiHttpResponse<LineItemS3ObjectMetadata1>getS3ObjectMetadataV1(java.lang.String lineItemS3ObjectMetadataId, RequestOptions requestOptions)Retrieves metadata for a line item S3 object.ChrtApiHttpResponse<java.io.InputStream>getV1(java.lang.String lineItemS3ObjectMetadataId)Streams a line item S3 object file from storage.ChrtApiHttpResponse<java.io.InputStream>getV1(java.lang.String lineItemS3ObjectMetadataId, RequestOptions requestOptions)Streams a line item S3 object file from storage.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawS3ObjectsClient
public RawS3ObjectsClient(ClientOptions clientOptions)
-
-
Method Detail
-
getS3ObjectMetadataV1
public ChrtApiHttpResponse<LineItemS3ObjectMetadata1> getS3ObjectMetadataV1(java.lang.String lineItemS3ObjectMetadataId)
Retrieves metadata for a line item S3 object. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemS3ObjectMetadata1)
-
getS3ObjectMetadataV1
public ChrtApiHttpResponse<LineItemS3ObjectMetadata1> getS3ObjectMetadataV1(java.lang.String lineItemS3ObjectMetadataId, RequestOptions requestOptions)
Retrieves metadata for a line item S3 object. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemS3ObjectMetadata1)
-
getV1
public ChrtApiHttpResponse<java.io.InputStream> getV1(java.lang.String lineItemS3ObjectMetadataId)
Streams a line item S3 object file from storage. | authz_personas=[lig_org_operators, lig_driver] | () -> (binary)
-
getV1
public ChrtApiHttpResponse<java.io.InputStream> getV1(java.lang.String lineItemS3ObjectMetadataId, RequestOptions requestOptions)
Streams a line item S3 object file from storage. | authz_personas=[lig_org_operators, lig_driver] | () -> (binary)
-
addV1
public ChrtApiHttpResponse<java.lang.Boolean> addV1(java.lang.String lineItemId, java.io.File file, BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost request)
Uploads a file to a line item. Automatic blurhash generation for images. | authz_personas=[lig_org_operators, lig_driver] | (UploadFile) -> (bool)
-
addV1
public ChrtApiHttpResponse<java.lang.Boolean> addV1(java.lang.String lineItemId, java.io.File file, BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost request, RequestOptions requestOptions)
Uploads a file to a line item. Automatic blurhash generation for images. | authz_personas=[lig_org_operators, lig_driver] | (UploadFile) -> (bool)
-
deleteV1
public ChrtApiHttpResponse<java.lang.Boolean> deleteV1(java.lang.String lineItemS3ObjectMetadataId)
Deletes an S3 object metadata and the associated S3 object from a line item. | authz_personas=[lig_org_operators, lig_driver] | () -> (bool)
-
deleteV1
public ChrtApiHttpResponse<java.lang.Boolean> deleteV1(java.lang.String lineItemS3ObjectMetadataId, RequestOptions requestOptions)
Deletes an S3 object metadata and the associated S3 object from a line item. | authz_personas=[lig_org_operators, lig_driver] | () -> (bool)
-
-