{"modulePath":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk","version":"v0.4.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package file_upload\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient for file upload API\n\n```go\nfunc (a *Client) GeneratedUploadURLShort(params *GeneratedUploadURLParams, authInfo runtime.ClientAuthInfoWriter) (*GeneratedUploadURLResponse, error)\n```\nGeneratedUploadURLShort generate upload url Generate an upload URL. It's valid for 10 minutes. Other detail info:\n\n  - Action code : 11101\n  - Returns : URL data\n\n```go\nfunc (a *Client) GeneratedUserUploadContentURLShort(params *GeneratedUserUploadContentURLParams, authInfo runtime.ClientAuthInfoWriter) (*GeneratedUserUploadContentURLResponse, error)\n```\nGeneratedUserUploadContentURLShort generate upload url for user content Generate an upload URL for user content. It's valid for 10 minutes. Other detail info:\n\n  - Action code : 11102\n  - Returns : URL data\n\n```go\nfunc (a *Client) PublicGeneratedUploadURLShort(params *PublicGeneratedUploadURLParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGeneratedUploadURLResponse, error)\n```\nPublicGeneratedUploadURLShort generate upload url Generate an upload URL. It's valid for 10 minutes. Other detail info:\n\n  - Action code : 11101\n  - Returns : URL data\n\n```go\nfunc (a *Client) PublicGeneratedUserUploadContentURLShort(params *PublicGeneratedUserUploadContentURLParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGeneratedUserUploadContentURLResponse, error)\n```\nPublicGeneratedUserUploadContentURLShort generate upload url for user content Generate an upload URL for user content. It's valid for 10 minutes. There are two types of storage limits per user: maximum file count and maximum total file size. These limits vary depending on the upload category used.\n\n 1. Default category:\n\n\\- Maximum file count per user: 10 files - Maximum total file size per user: 100MB\n\n 2. Reporting category:\n\n\\- Maximum file count per user: 3 files every 1 hour - Maximum total file size per user: 30MB every 1 hour\n\nOther detail info:\n\n  - Action code : 11102\n  - Returns : URL data\n\n```go\nfunc (a *Client) SetTransport(transport runtime.ClientTransport)\n```\nSetTransport changes the transport on the client\n\n```go\ntype ClientService interface {\n\tGeneratedUploadURLShort(params *GeneratedUploadURLParams, authInfo runtime.ClientAuthInfoWriter) (*GeneratedUploadURLResponse, error)\n\tGeneratedUserUploadContentURLShort(params *GeneratedUserUploadContentURLParams, authInfo runtime.ClientAuthInfoWriter) (*GeneratedUserUploadContentURLResponse, error)\n\tPublicGeneratedUploadURLShort(params *PublicGeneratedUploadURLParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGeneratedUploadURLResponse, error)\n\tPublicGeneratedUserUploadContentURLShort(params *PublicGeneratedUserUploadContentURLParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGeneratedUserUploadContentURLResponse, error)\n\n\tSetTransport(transport runtime.ClientTransport)\n}\n```\nClientService is the interface for Client methods\n\n```go\nfunc New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService\n```\nNew creates a new file upload API client.\n\n```go\ntype GeneratedUploadURLBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nGeneratedUploadURLBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11131\u003c/td\u003e\u003ctd\u003eUnable to {action}: File type is not supported\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUploadURLBadRequest() *GeneratedUploadURLBadRequest\n```\nNewGeneratedUploadURLBadRequest creates a GeneratedUploadURLBadRequest with default headers values\n\n```go\nfunc (o *GeneratedUploadURLBadRequest) Error() string\n```\n\n```go\nfunc (o *GeneratedUploadURLBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *GeneratedUploadURLBadRequest) ToJSONString() string\n```\n\n```go\ntype GeneratedUploadURLForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGeneratedUploadURLForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUploadURLForbidden() *GeneratedUploadURLForbidden\n```\nNewGeneratedUploadURLForbidden creates a GeneratedUploadURLForbidden with default headers values\n\n```go\nfunc (o *GeneratedUploadURLForbidden) Error() string\n```\n\n```go\nfunc (o *GeneratedUploadURLForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GeneratedUploadURLForbidden) ToJSONString() string\n```\n\n```go\ntype GeneratedUploadURLInternalServerError struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGeneratedUploadURLInternalServerError handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20000\u003c/td\u003e\u003ctd\u003einternal server error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUploadURLInternalServerError() *GeneratedUploadURLInternalServerError\n```\nNewGeneratedUploadURLInternalServerError creates a GeneratedUploadURLInternalServerError with default headers values\n\n```go\nfunc (o *GeneratedUploadURLInternalServerError) Error() string\n```\n\n```go\nfunc (o *GeneratedUploadURLInternalServerError) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GeneratedUploadURLInternalServerError) ToJSONString() string\n```\n\n```go\ntype GeneratedUploadURLOK struct {\n\tPayload *basicclientmodels.FileUploadURLInfo\n}\n```\nGeneratedUploadURLOK handles this case with default header values.\n\n\tSuccessful operation\n\n```go\nfunc NewGeneratedUploadURLOK() *GeneratedUploadURLOK\n```\nNewGeneratedUploadURLOK creates a GeneratedUploadURLOK with default headers values\n\n```go\nfunc (o *GeneratedUploadURLOK) Error() string\n```\n\n```go\nfunc (o *GeneratedUploadURLOK) GetPayload() *basicclientmodels.FileUploadURLInfo\n```\n\n```go\nfunc (o *GeneratedUploadURLOK) ToJSONString() string\n```\n\n```go\ntype GeneratedUploadURLParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Folder\n\t  the name of folder where the file will be uploaded, must be between 1-256 characters, all characters allowed no whitespace\n\n\t*/\n\tFolder string\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*FileType\n\t  one of the these types: jpeg, jpg, png, bmp, gif, mp3, bin, webp, mp4, webm\n\n\t*/\n\tFileType string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nGeneratedUploadURLParams contains all the parameters to send to the API endpoint for the generated upload url operation typically these are written to a http.Request\n\n```go\nfunc NewGeneratedUploadURLParams() *GeneratedUploadURLParams\n```\nNewGeneratedUploadURLParams creates a new GeneratedUploadURLParams object with the default values initialized.\n\n```go\nfunc NewGeneratedUploadURLParamsWithContext(ctx context.Context) *GeneratedUploadURLParams\n```\nNewGeneratedUploadURLParamsWithContext creates a new GeneratedUploadURLParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewGeneratedUploadURLParamsWithHTTPClient(client *http.Client) *GeneratedUploadURLParams\n```\nNewGeneratedUploadURLParamsWithHTTPClient creates a new GeneratedUploadURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewGeneratedUploadURLParamsWithTimeout(timeout time.Duration) *GeneratedUploadURLParams\n```\nNewGeneratedUploadURLParamsWithTimeout creates a new GeneratedUploadURLParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *GeneratedUploadURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) SetFileType(fileType string)\n```\nSetFileType adds the fileType to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *GeneratedUploadURLParams) SetFolder(folder string)\n```\nSetFolder adds the folder to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) WithContext(ctx context.Context) *GeneratedUploadURLParams\n```\nWithContext adds the context to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) WithFileType(fileType string) *GeneratedUploadURLParams\n```\nWithFileType adds the fileType to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) WithFolder(folder string) *GeneratedUploadURLParams\n```\nWithFolder adds the folder to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) WithHTTPClient(client *http.Client) *GeneratedUploadURLParams\n```\nWithHTTPClient adds the HTTPClient to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) WithNamespace(namespace string) *GeneratedUploadURLParams\n```\nWithNamespace adds the namespace to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) WithTimeout(timeout time.Duration) *GeneratedUploadURLParams\n```\nWithTimeout adds the timeout to the generated upload url params\n\n```go\nfunc (o *GeneratedUploadURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype GeneratedUploadURLReader struct {\n\t// contains filtered or unexported fields\n}\n```\nGeneratedUploadURLReader is a Reader for the GeneratedUploadURL structure.\n\n```go\nfunc (o *GeneratedUploadURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype GeneratedUploadURLResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData *basicclientmodels.FileUploadURLInfo\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError500 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *GeneratedUploadURLResponse) Unpack() (*basicclientmodels.FileUploadURLInfo, *basicclientmodels.ApiError)\n```\n\n```go\ntype GeneratedUploadURLUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGeneratedUploadURLUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUploadURLUnauthorized() *GeneratedUploadURLUnauthorized\n```\nNewGeneratedUploadURLUnauthorized creates a GeneratedUploadURLUnauthorized with default headers values\n\n```go\nfunc (o *GeneratedUploadURLUnauthorized) Error() string\n```\n\n```go\nfunc (o *GeneratedUploadURLUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GeneratedUploadURLUnauthorized) ToJSONString() string\n```\n\n```go\ntype GeneratedUserUploadContentURLBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nGeneratedUserUploadContentURLBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11121\u003c/td\u003e\u003ctd\u003eUnable to {action}: category {category} is not valid\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11131\u003c/td\u003e\u003ctd\u003eUnable to {action}: File type is not supported\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUserUploadContentURLBadRequest() *GeneratedUserUploadContentURLBadRequest\n```\nNewGeneratedUserUploadContentURLBadRequest creates a GeneratedUserUploadContentURLBadRequest with default headers values\n\n```go\nfunc (o *GeneratedUserUploadContentURLBadRequest) Error() string\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLBadRequest) ToJSONString() string\n```\n\n```go\ntype GeneratedUserUploadContentURLConflict struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGeneratedUserUploadContentURLConflict handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11132\u003c/td\u003e\u003ctd\u003eUnable to {action}: file storage exceed limitation, user ID: {userId}, namespace: {namespace}\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUserUploadContentURLConflict() *GeneratedUserUploadContentURLConflict\n```\nNewGeneratedUserUploadContentURLConflict creates a GeneratedUserUploadContentURLConflict with default headers values\n\n```go\nfunc (o *GeneratedUserUploadContentURLConflict) Error() string\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLConflict) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLConflict) ToJSONString() string\n```\n\n```go\ntype GeneratedUserUploadContentURLForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGeneratedUserUploadContentURLForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUserUploadContentURLForbidden() *GeneratedUserUploadContentURLForbidden\n```\nNewGeneratedUserUploadContentURLForbidden creates a GeneratedUserUploadContentURLForbidden with default headers values\n\n```go\nfunc (o *GeneratedUserUploadContentURLForbidden) Error() string\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLForbidden) ToJSONString() string\n```\n\n```go\ntype GeneratedUserUploadContentURLInternalServerError struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGeneratedUserUploadContentURLInternalServerError handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20000\u003c/td\u003e\u003ctd\u003einternal server error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUserUploadContentURLInternalServerError() *GeneratedUserUploadContentURLInternalServerError\n```\nNewGeneratedUserUploadContentURLInternalServerError creates a GeneratedUserUploadContentURLInternalServerError with default headers values\n\n```go\nfunc (o *GeneratedUserUploadContentURLInternalServerError) Error() string\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLInternalServerError) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLInternalServerError) ToJSONString() string\n```\n\n```go\ntype GeneratedUserUploadContentURLOK struct {\n\tPayload *basicclientmodels.FileUploadURLInfo\n}\n```\nGeneratedUserUploadContentURLOK handles this case with default header values.\n\n\tSuccessful operation\n\n```go\nfunc NewGeneratedUserUploadContentURLOK() *GeneratedUserUploadContentURLOK\n```\nNewGeneratedUserUploadContentURLOK creates a GeneratedUserUploadContentURLOK with default headers values\n\n```go\nfunc (o *GeneratedUserUploadContentURLOK) Error() string\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLOK) GetPayload() *basicclientmodels.FileUploadURLInfo\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLOK) ToJSONString() string\n```\n\n```go\ntype GeneratedUserUploadContentURLParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*UserID\n\t  user's id, should follow UUID version 4 without hyphen\n\n\t*/\n\tUserID string\n\t/*Category\n\t  Upload category. Supported categories: default, reporting\n\n\t*/\n\tCategory *string\n\t/*FileType\n\t  one of the these types: jpeg, jpg, png, bmp, gif, mp3, bin, webp, mp4, webm\n\n\t*/\n\tFileType string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nGeneratedUserUploadContentURLParams contains all the parameters to send to the API endpoint for the generated user upload content url operation typically these are written to a http.Request\n\n```go\nfunc NewGeneratedUserUploadContentURLParams() *GeneratedUserUploadContentURLParams\n```\nNewGeneratedUserUploadContentURLParams creates a new GeneratedUserUploadContentURLParams object with the default values initialized.\n\n```go\nfunc NewGeneratedUserUploadContentURLParamsWithContext(ctx context.Context) *GeneratedUserUploadContentURLParams\n```\nNewGeneratedUserUploadContentURLParamsWithContext creates a new GeneratedUserUploadContentURLParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewGeneratedUserUploadContentURLParamsWithHTTPClient(client *http.Client) *GeneratedUserUploadContentURLParams\n```\nNewGeneratedUserUploadContentURLParamsWithHTTPClient creates a new GeneratedUserUploadContentURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewGeneratedUserUploadContentURLParamsWithTimeout(timeout time.Duration) *GeneratedUserUploadContentURLParams\n```\nNewGeneratedUserUploadContentURLParamsWithTimeout creates a new GeneratedUserUploadContentURLParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetCategory(category *string)\n```\nSetCategory adds the category to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetFileType(fileType string)\n```\nSetFileType adds the fileType to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) SetUserID(userID string)\n```\nSetUserID adds the userId to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WithCategory(category *string) *GeneratedUserUploadContentURLParams\n```\nWithCategory adds the category to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WithContext(ctx context.Context) *GeneratedUserUploadContentURLParams\n```\nWithContext adds the context to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WithFileType(fileType string) *GeneratedUserUploadContentURLParams\n```\nWithFileType adds the fileType to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WithHTTPClient(client *http.Client) *GeneratedUserUploadContentURLParams\n```\nWithHTTPClient adds the HTTPClient to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WithNamespace(namespace string) *GeneratedUserUploadContentURLParams\n```\nWithNamespace adds the namespace to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WithTimeout(timeout time.Duration) *GeneratedUserUploadContentURLParams\n```\nWithTimeout adds the timeout to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WithUserID(userID string) *GeneratedUserUploadContentURLParams\n```\nWithUserID adds the userID to the generated user upload content url params\n\n```go\nfunc (o *GeneratedUserUploadContentURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype GeneratedUserUploadContentURLReader struct {\n\t// contains filtered or unexported fields\n}\n```\nGeneratedUserUploadContentURLReader is a Reader for the GeneratedUserUploadContentURL structure.\n\n```go\nfunc (o *GeneratedUserUploadContentURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype GeneratedUserUploadContentURLResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData *basicclientmodels.FileUploadURLInfo\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError409 *basicclientmodels.ErrorEntity\n\tError500 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *GeneratedUserUploadContentURLResponse) Unpack() (*basicclientmodels.FileUploadURLInfo, *basicclientmodels.ApiError)\n```\n\n```go\ntype GeneratedUserUploadContentURLUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGeneratedUserUploadContentURLUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGeneratedUserUploadContentURLUnauthorized() *GeneratedUserUploadContentURLUnauthorized\n```\nNewGeneratedUserUploadContentURLUnauthorized creates a GeneratedUserUploadContentURLUnauthorized with default headers values\n\n```go\nfunc (o *GeneratedUserUploadContentURLUnauthorized) Error() string\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GeneratedUserUploadContentURLUnauthorized) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUploadURLBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nPublicGeneratedUploadURLBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11131\u003c/td\u003e\u003ctd\u003eUnable to {action}: File type is not supported\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUploadURLBadRequest() *PublicGeneratedUploadURLBadRequest\n```\nNewPublicGeneratedUploadURLBadRequest creates a PublicGeneratedUploadURLBadRequest with default headers values\n\n```go\nfunc (o *PublicGeneratedUploadURLBadRequest) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLBadRequest) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUploadURLForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nPublicGeneratedUploadURLForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUploadURLForbidden() *PublicGeneratedUploadURLForbidden\n```\nNewPublicGeneratedUploadURLForbidden creates a PublicGeneratedUploadURLForbidden with default headers values\n\n```go\nfunc (o *PublicGeneratedUploadURLForbidden) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLForbidden) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUploadURLInternalServerError struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nPublicGeneratedUploadURLInternalServerError handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20000\u003c/td\u003e\u003ctd\u003einternal server error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUploadURLInternalServerError() *PublicGeneratedUploadURLInternalServerError\n```\nNewPublicGeneratedUploadURLInternalServerError creates a PublicGeneratedUploadURLInternalServerError with default headers values\n\n```go\nfunc (o *PublicGeneratedUploadURLInternalServerError) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLInternalServerError) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLInternalServerError) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUploadURLOK struct {\n\tPayload *basicclientmodels.FileUploadURLInfo\n}\n```\nPublicGeneratedUploadURLOK handles this case with default header values.\n\n\tSuccessful operation\n\n```go\nfunc NewPublicGeneratedUploadURLOK() *PublicGeneratedUploadURLOK\n```\nNewPublicGeneratedUploadURLOK creates a PublicGeneratedUploadURLOK with default headers values\n\n```go\nfunc (o *PublicGeneratedUploadURLOK) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLOK) GetPayload() *basicclientmodels.FileUploadURLInfo\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLOK) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUploadURLParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Folder\n\t  the name of folder where the file will be uploaded, must be between 1-256 characters, all characters allowed no whitespace\n\n\t*/\n\tFolder string\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*FileType\n\t  one of the these types: jpeg, jpg, png, bmp, gif, mp3, bin, webp\n\n\t*/\n\tFileType string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nPublicGeneratedUploadURLParams contains all the parameters to send to the API endpoint for the public generated upload url operation typically these are written to a http.Request\n\n```go\nfunc NewPublicGeneratedUploadURLParams() *PublicGeneratedUploadURLParams\n```\nNewPublicGeneratedUploadURLParams creates a new PublicGeneratedUploadURLParams object with the default values initialized.\n\n```go\nfunc NewPublicGeneratedUploadURLParamsWithContext(ctx context.Context) *PublicGeneratedUploadURLParams\n```\nNewPublicGeneratedUploadURLParamsWithContext creates a new PublicGeneratedUploadURLParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewPublicGeneratedUploadURLParamsWithHTTPClient(client *http.Client) *PublicGeneratedUploadURLParams\n```\nNewPublicGeneratedUploadURLParamsWithHTTPClient creates a new PublicGeneratedUploadURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewPublicGeneratedUploadURLParamsWithTimeout(timeout time.Duration) *PublicGeneratedUploadURLParams\n```\nNewPublicGeneratedUploadURLParamsWithTimeout creates a new PublicGeneratedUploadURLParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetFileType(fileType string)\n```\nSetFileType adds the fileType to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetFolder(folder string)\n```\nSetFolder adds the folder to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) WithContext(ctx context.Context) *PublicGeneratedUploadURLParams\n```\nWithContext adds the context to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) WithFileType(fileType string) *PublicGeneratedUploadURLParams\n```\nWithFileType adds the fileType to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) WithFolder(folder string) *PublicGeneratedUploadURLParams\n```\nWithFolder adds the folder to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) WithHTTPClient(client *http.Client) *PublicGeneratedUploadURLParams\n```\nWithHTTPClient adds the HTTPClient to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) WithNamespace(namespace string) *PublicGeneratedUploadURLParams\n```\nWithNamespace adds the namespace to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) WithTimeout(timeout time.Duration) *PublicGeneratedUploadURLParams\n```\nWithTimeout adds the timeout to the public generated upload url params\n\n```go\nfunc (o *PublicGeneratedUploadURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype PublicGeneratedUploadURLReader struct {\n\t// contains filtered or unexported fields\n}\n```\nPublicGeneratedUploadURLReader is a Reader for the PublicGeneratedUploadURL structure.\n\n```go\nfunc (o *PublicGeneratedUploadURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype PublicGeneratedUploadURLResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData *basicclientmodels.FileUploadURLInfo\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError500 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *PublicGeneratedUploadURLResponse) Unpack() (*basicclientmodels.FileUploadURLInfo, *basicclientmodels.ApiError)\n```\n\n```go\ntype PublicGeneratedUploadURLUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nPublicGeneratedUploadURLUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUploadURLUnauthorized() *PublicGeneratedUploadURLUnauthorized\n```\nNewPublicGeneratedUploadURLUnauthorized creates a PublicGeneratedUploadURLUnauthorized with default headers values\n\n```go\nfunc (o *PublicGeneratedUploadURLUnauthorized) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUploadURLUnauthorized) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUserUploadContentURLBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nPublicGeneratedUserUploadContentURLBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11121\u003c/td\u003e\u003ctd\u003eUnable to {action}: category {category} is not valid\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11131\u003c/td\u003e\u003ctd\u003eUnable to {action}: File type is not supported\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLBadRequest() *PublicGeneratedUserUploadContentURLBadRequest\n```\nNewPublicGeneratedUserUploadContentURLBadRequest creates a PublicGeneratedUserUploadContentURLBadRequest with default headers values\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLBadRequest) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLBadRequest) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUserUploadContentURLConflict struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nPublicGeneratedUserUploadContentURLConflict handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11132\u003c/td\u003e\u003ctd\u003eUnable to {action}: file storage exceed limitation, user ID: {userId}, namespace: {namespace}\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLConflict() *PublicGeneratedUserUploadContentURLConflict\n```\nNewPublicGeneratedUserUploadContentURLConflict creates a PublicGeneratedUserUploadContentURLConflict with default headers values\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLConflict) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLConflict) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLConflict) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUserUploadContentURLForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nPublicGeneratedUserUploadContentURLForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLForbidden() *PublicGeneratedUserUploadContentURLForbidden\n```\nNewPublicGeneratedUserUploadContentURLForbidden creates a PublicGeneratedUserUploadContentURLForbidden with default headers values\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLForbidden) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLForbidden) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUserUploadContentURLInternalServerError struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nPublicGeneratedUserUploadContentURLInternalServerError handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20000\u003c/td\u003e\u003ctd\u003einternal server error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLInternalServerError() *PublicGeneratedUserUploadContentURLInternalServerError\n```\nNewPublicGeneratedUserUploadContentURLInternalServerError creates a PublicGeneratedUserUploadContentURLInternalServerError with default headers values\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLInternalServerError) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLInternalServerError) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLInternalServerError) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUserUploadContentURLOK struct {\n\tPayload *basicclientmodels.FileUploadURLInfo\n}\n```\nPublicGeneratedUserUploadContentURLOK handles this case with default header values.\n\n\tSuccessful operation\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLOK() *PublicGeneratedUserUploadContentURLOK\n```\nNewPublicGeneratedUserUploadContentURLOK creates a PublicGeneratedUserUploadContentURLOK with default headers values\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLOK) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLOK) GetPayload() *basicclientmodels.FileUploadURLInfo\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLOK) ToJSONString() string\n```\n\n```go\ntype PublicGeneratedUserUploadContentURLParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*UserID\n\t  user's id, should follow UUID version 4 without hyphen\n\n\t*/\n\tUserID string\n\t/*Category\n\t  Upload category. Supported categories: default, reporting\n\n\t*/\n\tCategory *string\n\t/*FileType\n\t  one of the these types: jpeg, jpg, png, bmp, gif, mp3, bin, webp\n\n\t*/\n\tFileType string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nPublicGeneratedUserUploadContentURLParams contains all the parameters to send to the API endpoint for the public generated user upload content url operation typically these are written to a http.Request\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLParams() *PublicGeneratedUserUploadContentURLParams\n```\nNewPublicGeneratedUserUploadContentURLParams creates a new PublicGeneratedUserUploadContentURLParams object with the default values initialized.\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLParamsWithContext(ctx context.Context) *PublicGeneratedUserUploadContentURLParams\n```\nNewPublicGeneratedUserUploadContentURLParamsWithContext creates a new PublicGeneratedUserUploadContentURLParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLParamsWithHTTPClient(client *http.Client) *PublicGeneratedUserUploadContentURLParams\n```\nNewPublicGeneratedUserUploadContentURLParamsWithHTTPClient creates a new PublicGeneratedUserUploadContentURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLParamsWithTimeout(timeout time.Duration) *PublicGeneratedUserUploadContentURLParams\n```\nNewPublicGeneratedUserUploadContentURLParamsWithTimeout creates a new PublicGeneratedUserUploadContentURLParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetCategory(category *string)\n```\nSetCategory adds the category to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetFileType(fileType string)\n```\nSetFileType adds the fileType to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) SetUserID(userID string)\n```\nSetUserID adds the userId to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WithCategory(category *string) *PublicGeneratedUserUploadContentURLParams\n```\nWithCategory adds the category to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WithContext(ctx context.Context) *PublicGeneratedUserUploadContentURLParams\n```\nWithContext adds the context to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WithFileType(fileType string) *PublicGeneratedUserUploadContentURLParams\n```\nWithFileType adds the fileType to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WithHTTPClient(client *http.Client) *PublicGeneratedUserUploadContentURLParams\n```\nWithHTTPClient adds the HTTPClient to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WithNamespace(namespace string) *PublicGeneratedUserUploadContentURLParams\n```\nWithNamespace adds the namespace to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WithTimeout(timeout time.Duration) *PublicGeneratedUserUploadContentURLParams\n```\nWithTimeout adds the timeout to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WithUserID(userID string) *PublicGeneratedUserUploadContentURLParams\n```\nWithUserID adds the userID to the public generated user upload content url params\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype PublicGeneratedUserUploadContentURLReader struct {\n\t// contains filtered or unexported fields\n}\n```\nPublicGeneratedUserUploadContentURLReader is a Reader for the PublicGeneratedUserUploadContentURL structure.\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype PublicGeneratedUserUploadContentURLResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData *basicclientmodels.FileUploadURLInfo\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError409 *basicclientmodels.ErrorEntity\n\tError500 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *PublicGeneratedUserUploadContentURLResponse) Unpack() (*basicclientmodels.FileUploadURLInfo, *basicclientmodels.ApiError)\n```\n\n```go\ntype PublicGeneratedUserUploadContentURLUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nPublicGeneratedUserUploadContentURLUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGeneratedUserUploadContentURLUnauthorized() *PublicGeneratedUserUploadContentURLUnauthorized\n```\nNewPublicGeneratedUserUploadContentURLUnauthorized creates a PublicGeneratedUserUploadContentURLUnauthorized with default headers values\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLUnauthorized) Error() string\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *PublicGeneratedUserUploadContentURLUnauthorized) ToJSONString() string\n```\n\n","path":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk/pkg/basicclient/file_upload","name":"file_upload","synopsis":"","isRedistributable":true}
