CloudHealth-API
view release on metacpan or search on metacpan
lib/CloudHealth/API/Call/CreatePartnerCustomer.pm view on Meta::CPAN
use Moo;
use MooX::StrictConstructor;
use Types::Standard qw/Int Str Dict Maybe ArrayRef/;
has name => (is => 'ro', isa => Str, required => 1);
has address => (is => 'ro', isa => Dict[street1 => Str, street2 => Str, city => Str, state => Str, zipcode => Int, country => Str], required => 1);
has classification => (is => 'ro', isa => Str);
has trial_expiration_date => (is => 'ro', isa => Str);
has billing_contact => (is => 'ro', isa => Str);
has partner_billing_configuration => (is => 'ro', isa => Dict[enabled => Str, folder => Maybe[Str]]);
has tags => (is => 'ro', isa => ArrayRef[Dict[key => Str, value => Str]]);
sub _body_params { [
{ name => 'name' },
{ name => 'address' },
{ name => 'classification' },
{ name => 'trial_expiration_date' },
{ name => 'billing_contact' },
{ name => 'partner_billing_configuration' },
{ name => 'tags' },
] }
lib/CloudHealth/API/Call/CreatePerspectiveSchema.pm view on Meta::CPAN
package CloudHealth::API::Call::CreatePerspectiveSchema;
use Moo;
use MooX::StrictConstructor;
use Types::Standard qw/Bool HashRef/;
has include_version => (is => 'ro', isa => Bool);
has schema => (is => 'ro', isa => HashRef, required => 1);
sub _body_params { [
{ name => 'schema' },
] }
sub _query_params { [
{ name => 'include_version' },
] }
sub _url_params { [ ] }
sub _method { 'POST' }
sub _url { 'https://chapi.cloudhealthtech.com/v1/perspective_schemas/' }
lib/CloudHealth/API/Call/ModifyExistingCustomer.pm view on Meta::CPAN
use Types::Standard qw/Int Str Dict Maybe ArrayRef/;
has customer_id => (is => 'ro', isa => Int, required => 1);
has name => (is => 'ro', isa => Str);
has address => (is => 'ro', isa => Dict[street1 => Str, street2 => Str, city => Str, state => Str, zipcode => Int, country => Str]);
has classification => (is => 'ro', isa => Str);
has trial_expiration_date => (is => 'ro', isa => Str);
has billing_contact => (is => 'ro', isa => Str);
has partner_billing_configuration => (is => 'ro', isa => Dict[enabled => Str, folder => Maybe[Str]]);
has tags => (is => 'ro', isa => ArrayRef[Dict[key => Str, value => Str]]);
sub _body_params { [
{ name => 'name' },
{ name => 'address' },
{ name => 'classification' },
{ name => 'trial_expiration_date' },
{ name => 'billing_contact' },
{ name => 'partner_billing_configuration' },
{ name => 'tags' },
] }
lib/CloudHealth/API/Call/UpdatePerspectiveSchema.pm view on Meta::CPAN
package CloudHealth::API::Call::UpdatePerspectiveSchema;
use Moo;
use MooX::StrictConstructor;
use Types::Standard qw/Bool HashRef Int/;
has perspective_id => (is => 'ro', isa => Int, required => 1);
has include_version => (is => 'ro', isa => Bool);
has schema => (is => 'ro', isa => HashRef, required => 1);
has allow_group_delete => (is => 'ro', isa => Bool);
has check_version => (is => 'ro', isa => Int);
sub _body_params { [
{ name => 'schema' },
] }
sub _query_params { [
{ name => 'include_version' },
{ name => 'check_version' },
{ name => 'allow_group_delete' },
lib/CloudHealth/API/Call/UpdateTagsForSingleAsset.pm view on Meta::CPAN
package CloudHealth::API::Call::UpdateTagsForSingleAsset;
use Moo;
use MooX::StrictConstructor;
use Types::Standard qw/Dict Str ArrayRef Int/;
our $tags_cons = Dict[key => Str, value => Str];
our $tag_group_cons = Dict[asset_type => Str, ids => ArrayRef[Int], tags => ArrayRef[$tags_cons]];
has tag_groups => (is => 'ro', isa => ArrayRef[$tag_group_cons], required => 1);
sub _body_params { [
{ name => 'tag_groups' },
] }
sub _query_params { [ ] }
sub _url_params { [ ] }
sub _method { 'POST' }
sub _url { 'https://chapi.cloudhealthtech.com/v1/custom_tags' }
1;
( run in 0.600 second using v1.01-cache-2.11-cpan-5f2e87ce722 )