vault/ui/api-client/dist/esm/models/GenerateRandomWithSourceRequest.d.ts

39 lines
1.5 KiB
TypeScript

/**
* HashiCorp Vault API
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
*
* The version of the OpenAPI document: 1.21.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface GenerateRandomWithSourceRequest
*/
export interface GenerateRandomWithSourceRequest {
/**
* The number of bytes to generate (POST body parameter). Defaults to 32 (256 bits).
* @type {number}
* @memberof GenerateRandomWithSourceRequest
*/
bytes?: number;
/**
* Encoding format to use. Can be "hex" or "base64". Defaults to "base64".
* @type {string}
* @memberof GenerateRandomWithSourceRequest
*/
format?: string;
}
/**
* Check if a given object implements the GenerateRandomWithSourceRequest interface.
*/
export declare function instanceOfGenerateRandomWithSourceRequest(value: object): value is GenerateRandomWithSourceRequest;
export declare function GenerateRandomWithSourceRequestFromJSON(json: any): GenerateRandomWithSourceRequest;
export declare function GenerateRandomWithSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateRandomWithSourceRequest;
export declare function GenerateRandomWithSourceRequestToJSON(json: any): GenerateRandomWithSourceRequest;
export declare function GenerateRandomWithSourceRequestToJSONTyped(value?: GenerateRandomWithSourceRequest | null, ignoreDiscriminator?: boolean): any;