Class: Akeyless::TargetTypeDetailsInput
- Inherits:
-
Object
- Object
- Akeyless::TargetTypeDetailsInput
- Defined in:
- lib/akeyless/models/target_type_details_input.rb
Instance Attribute Summary collapse
-
#administrative_port ⇒ Object
Returns the value of attribute administrative_port.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#app_private_key ⇒ Object
params needed for jwt auth AppPrivateKey is the rsa private key in PEM format.
-
#artifactory_admin_apikey ⇒ Object
Returns the value of attribute artifactory_admin_apikey.
-
#artifactory_admin_username ⇒ Object
Returns the value of attribute artifactory_admin_username.
-
#artifactory_base_url ⇒ Object
Returns the value of attribute artifactory_base_url.
-
#auth_flow ⇒ Object
Returns the value of attribute auth_flow.
-
#authorization_port ⇒ Object
Returns the value of attribute authorization_port.
-
#aws_access_key_id ⇒ Object
Returns the value of attribute aws_access_key_id.
-
#aws_region ⇒ Object
Returns the value of attribute aws_region.
-
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
-
#aws_session_token ⇒ Object
Returns the value of attribute aws_session_token.
-
#azure_client_id ⇒ Object
Returns the value of attribute azure_client_id.
-
#azure_client_secret ⇒ Object
Returns the value of attribute azure_client_secret.
-
#azure_resource_group_name ⇒ Object
Returns the value of attribute azure_resource_group_name.
-
#azure_resource_name ⇒ Object
Returns the value of attribute azure_resource_name.
-
#azure_subscription_id ⇒ Object
Returns the value of attribute azure_subscription_id.
-
#azure_tenant_id ⇒ Object
Returns the value of attribute azure_tenant_id.
-
#ca_cert_data ⇒ Object
CACertData is the rsa 4096 certificate data in PEM format.
-
#ca_cert_name ⇒ Object
CACertName is the name of the certificate in SalesForce tenant.
-
#certificate ⇒ Object
Returns the value of attribute certificate.
-
#chef_server_host_name ⇒ Object
Returns the value of attribute chef_server_host_name.
-
#chef_server_key ⇒ Object
Returns the value of attribute chef_server_key.
-
#chef_server_port ⇒ Object
Returns the value of attribute chef_server_port.
-
#chef_server_url ⇒ Object
Returns the value of attribute chef_server_url.
-
#chef_server_username ⇒ Object
Returns the value of attribute chef_server_username.
-
#chef_skip_ssl ⇒ Object
Returns the value of attribute chef_skip_ssl.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
params needed for password auth.
-
#db_host_name ⇒ Object
Returns the value of attribute db_host_name.
-
#db_name ⇒ Object
Returns the value of attribute db_name.
-
#db_port ⇒ Object
Returns the value of attribute db_port.
-
#db_private_key ⇒ Object
(Optional) Private Key in PEM format.
-
#db_private_key_passphrase ⇒ Object
Returns the value of attribute db_private_key_passphrase.
-
#db_pwd ⇒ Object
Returns the value of attribute db_pwd.
-
#db_server_certificates ⇒ Object
(Optional) DBServerCertificates defines the set of root certificate authorities that clients use when verifying server certificates.
-
#db_server_name ⇒ Object
(Optional) ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given.
-
#db_user_name ⇒ Object
Returns the value of attribute db_user_name.
-
#domain_name ⇒ Object
Returns the value of attribute domain_name.
-
#eks_access_key_id ⇒ Object
Returns the value of attribute eks_access_key_id.
-
#eks_cluster_ca_certificate ⇒ Object
Returns the value of attribute eks_cluster_ca_certificate.
-
#eks_cluster_endpoint ⇒ Object
Returns the value of attribute eks_cluster_endpoint.
-
#eks_cluster_name ⇒ Object
Returns the value of attribute eks_cluster_name.
-
#eks_region ⇒ Object
Returns the value of attribute eks_region.
-
#eks_secret_access_key ⇒ Object
Returns the value of attribute eks_secret_access_key.
-
#email ⇒ Object
Returns the value of attribute email.
-
#first_name ⇒ Object
Contact Info - GlobalSign requires this to be sent with every certificate creation request.
-
#gcp_service_account_email ⇒ Object
deprecated.
-
#gcp_service_account_key ⇒ Object
Returns the value of attribute gcp_service_account_key.
-
#gcp_service_account_key_base64 ⇒ Object
Returns the value of attribute gcp_service_account_key_base64.
-
#github_app_id ⇒ Object
Returns the value of attribute github_app_id.
-
#github_app_private_key ⇒ Object
Returns the value of attribute github_app_private_key.
-
#github_base_url ⇒ Object
Returns the value of attribute github_base_url.
-
#gke_cluster_ca_certificate ⇒ Object
Returns the value of attribute gke_cluster_ca_certificate.
-
#gke_cluster_endpoint ⇒ Object
Returns the value of attribute gke_cluster_endpoint.
-
#gke_cluster_name ⇒ Object
Returns the value of attribute gke_cluster_name.
-
#gke_service_account_key ⇒ Object
Returns the value of attribute gke_service_account_key.
-
#gke_service_account_name ⇒ Object
Returns the value of attribute gke_service_account_name.
-
#host ⇒ Object
Returns the value of attribute host.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#hosts ⇒ Object
Returns the value of attribute hosts.
-
#imap_fqdn ⇒ Object
Returns the value of attribute imap_fqdn.
-
#imap_password ⇒ Object
Returns the value of attribute imap_password.
-
#imap_port ⇒ Object
Returns the value of attribute imap_port.
-
#imap_user ⇒ Object
Returns the value of attribute imap_user.
-
#implementation_type ⇒ Object
Returns the value of attribute implementation_type.
-
#k8s_bearer_token ⇒ Object
Returns the value of attribute k8s_bearer_token.
-
#k8s_cluster_ca_certificate ⇒ Object
Returns the value of attribute k8s_cluster_ca_certificate.
-
#k8s_cluster_endpoint ⇒ Object
Returns the value of attribute k8s_cluster_endpoint.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#ldap_audience ⇒ Object
Returns the value of attribute ldap_audience.
-
#ldap_bind_dn ⇒ Object
Returns the value of attribute ldap_bind_dn.
-
#ldap_bind_password ⇒ Object
Returns the value of attribute ldap_bind_password.
-
#ldap_certificate ⇒ Object
Returns the value of attribute ldap_certificate.
-
#ldap_token_expiration ⇒ Object
Returns the value of attribute ldap_token_expiration.
-
#ldap_url ⇒ Object
Returns the value of attribute ldap_url.
-
#mongodb_atlas_api_private_key ⇒ Object
Returns the value of attribute mongodb_atlas_api_private_key.
-
#mongodb_atlas_api_public_key ⇒ Object
Returns the value of attribute mongodb_atlas_api_public_key.
-
#mongodb_atlas_project_id ⇒ Object
mongodb atlas fields.
-
#mongodb_db_name ⇒ Object
common fields.
-
#mongodb_default_auth_db ⇒ Object
Returns the value of attribute mongodb_default_auth_db.
-
#mongodb_host_port ⇒ Object
Returns the value of attribute mongodb_host_port.
-
#mongodb_is_atlas ⇒ Object
Returns the value of attribute mongodb_is_atlas.
-
#mongodb_password ⇒ Object
Returns the value of attribute mongodb_password.
-
#mongodb_uri_connection ⇒ Object
mongodb fields.
-
#mongodb_uri_options ⇒ Object
Returns the value of attribute mongodb_uri_options.
-
#mongodb_username ⇒ Object
Returns the value of attribute mongodb_username.
-
#password ⇒ Object
Returns the value of attribute password.
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#ping_url ⇒ Object
Returns the value of attribute ping_url.
-
#port ⇒ Object
Returns the value of attribute port.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#private_key_password ⇒ Object
Returns the value of attribute private_key_password.
-
#privileged_user ⇒ Object
Returns the value of attribute privileged_user.
-
#profile_id ⇒ Object
Returns the value of attribute profile_id.
-
#rabbitmq_server_password ⇒ Object
Returns the value of attribute rabbitmq_server_password.
-
#rabbitmq_server_uri ⇒ Object
Returns the value of attribute rabbitmq_server_uri.
-
#rabbitmq_server_user ⇒ Object
Returns the value of attribute rabbitmq_server_user.
-
#security_token ⇒ Object
Returns the value of attribute security_token.
-
#sf_account ⇒ Object
Returns the value of attribute sf_account.
-
#ssl_connection_certificate ⇒ Object
(Optional) SSLConnectionCertificate defines the certificate for SSL connection.
-
#ssl_connection_mode ⇒ Object
(Optional) SSLConnectionMode defines if SSL mode will be used to connect to DB.
-
#tenant_url ⇒ Object
Returns the value of attribute tenant_url.
-
#timeout ⇒ Object
A Duration represents the elapsed time between two instants as an int64 nanosecond count.
-
#url ⇒ Object
Returns the value of attribute url.
-
#use_gw_cloud_identity ⇒ Object
Returns the value of attribute use_gw_cloud_identity.
-
#use_gw_service_account ⇒ Object
Returns the value of attribute use_gw_service_account.
-
#use_tls ⇒ Object
Returns the value of attribute use_tls.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
-
#user_password ⇒ Object
Returns the value of attribute user_password.
-
#username ⇒ Object
Returns the value of attribute username.
-
#validation_email ⇒ Object
Returns the value of attribute validation_email.
-
#venafi_api_key ⇒ Object
Returns the value of attribute venafi_api_key.
-
#venafi_base_url ⇒ Object
Returns the value of attribute venafi_base_url.
-
#venafi_tpp_access_token ⇒ Object
Returns the value of attribute venafi_tpp_access_token.
-
#venafi_tpp_client_id ⇒ Object
Returns the value of attribute venafi_tpp_client_id.
-
#venafi_tpp_password ⇒ Object
Deprecated: VenafiAccessToken and VenafiRefreshToken should be used instead.
-
#venafi_tpp_refresh_token ⇒ Object
Returns the value of attribute venafi_tpp_refresh_token.
-
#venafi_tpp_username ⇒ Object
Deprecated: VenafiAccessToken and VenafiRefreshToken should be used instead.
-
#venafi_use_tpp ⇒ Object
Returns the value of attribute venafi_use_tpp.
-
#venafi_zone ⇒ Object
Returns the value of attribute venafi_zone.
Class Method Summary collapse
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ TargetTypeDetailsInput
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ TargetTypeDetailsInput
Initializes the object
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 548 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetTypeDetailsInput` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetTypeDetailsInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'administrative_port') self.administrative_port = attributes[:'administrative_port'] end if attributes.key?(:'api_key') self.api_key = attributes[:'api_key'] end if attributes.key?(:'app_private_key') if (value = attributes[:'app_private_key']).is_a?(Array) self.app_private_key = value end end if attributes.key?(:'artifactory_admin_apikey') self.artifactory_admin_apikey = attributes[:'artifactory_admin_apikey'] end if attributes.key?(:'artifactory_admin_username') self.artifactory_admin_username = attributes[:'artifactory_admin_username'] end if attributes.key?(:'artifactory_base_url') self.artifactory_base_url = attributes[:'artifactory_base_url'] end if attributes.key?(:'auth_flow') self.auth_flow = attributes[:'auth_flow'] end if attributes.key?(:'authorization_port') self. = attributes[:'authorization_port'] end if attributes.key?(:'aws_access_key_id') self.aws_access_key_id = attributes[:'aws_access_key_id'] end if attributes.key?(:'aws_region') self.aws_region = attributes[:'aws_region'] end if attributes.key?(:'aws_secret_access_key') self.aws_secret_access_key = attributes[:'aws_secret_access_key'] end if attributes.key?(:'aws_session_token') self.aws_session_token = attributes[:'aws_session_token'] end if attributes.key?(:'azure_client_id') self.azure_client_id = attributes[:'azure_client_id'] end if attributes.key?(:'azure_client_secret') self.azure_client_secret = attributes[:'azure_client_secret'] end if attributes.key?(:'azure_resource_group_name') self.azure_resource_group_name = attributes[:'azure_resource_group_name'] end if attributes.key?(:'azure_resource_name') self.azure_resource_name = attributes[:'azure_resource_name'] end if attributes.key?(:'azure_subscription_id') self.azure_subscription_id = attributes[:'azure_subscription_id'] end if attributes.key?(:'azure_tenant_id') self.azure_tenant_id = attributes[:'azure_tenant_id'] end if attributes.key?(:'ca_cert_data') if (value = attributes[:'ca_cert_data']).is_a?(Array) self.ca_cert_data = value end end if attributes.key?(:'ca_cert_name') self.ca_cert_name = attributes[:'ca_cert_name'] end if attributes.key?(:'certificate') self.certificate = attributes[:'certificate'] end if attributes.key?(:'chef_server_host_name') self.chef_server_host_name = attributes[:'chef_server_host_name'] end if attributes.key?(:'chef_server_key') self.chef_server_key = attributes[:'chef_server_key'] end if attributes.key?(:'chef_server_port') self.chef_server_port = attributes[:'chef_server_port'] end if attributes.key?(:'chef_server_url') self.chef_server_url = attributes[:'chef_server_url'] end if attributes.key?(:'chef_server_username') self.chef_server_username = attributes[:'chef_server_username'] end if attributes.key?(:'chef_skip_ssl') self.chef_skip_ssl = attributes[:'chef_skip_ssl'] end if attributes.key?(:'client_id') self.client_id = attributes[:'client_id'] end if attributes.key?(:'client_secret') self.client_secret = attributes[:'client_secret'] end if attributes.key?(:'db_host_name') self.db_host_name = attributes[:'db_host_name'] end if attributes.key?(:'db_name') self.db_name = attributes[:'db_name'] end if attributes.key?(:'db_port') self.db_port = attributes[:'db_port'] end if attributes.key?(:'db_private_key') self.db_private_key = attributes[:'db_private_key'] end if attributes.key?(:'db_private_key_passphrase') self.db_private_key_passphrase = attributes[:'db_private_key_passphrase'] end if attributes.key?(:'db_pwd') self.db_pwd = attributes[:'db_pwd'] end if attributes.key?(:'db_server_certificates') self.db_server_certificates = attributes[:'db_server_certificates'] end if attributes.key?(:'db_server_name') self.db_server_name = attributes[:'db_server_name'] end if attributes.key?(:'db_user_name') self.db_user_name = attributes[:'db_user_name'] end if attributes.key?(:'domain_name') self.domain_name = attributes[:'domain_name'] end if attributes.key?(:'eks_access_key_id') self.eks_access_key_id = attributes[:'eks_access_key_id'] end if attributes.key?(:'eks_cluster_ca_certificate') self.eks_cluster_ca_certificate = attributes[:'eks_cluster_ca_certificate'] end if attributes.key?(:'eks_cluster_endpoint') self.eks_cluster_endpoint = attributes[:'eks_cluster_endpoint'] end if attributes.key?(:'eks_cluster_name') self.eks_cluster_name = attributes[:'eks_cluster_name'] end if attributes.key?(:'eks_region') self.eks_region = attributes[:'eks_region'] end if attributes.key?(:'eks_secret_access_key') self.eks_secret_access_key = attributes[:'eks_secret_access_key'] end if attributes.key?(:'email') self.email = attributes[:'email'] end if attributes.key?(:'first_name') self.first_name = attributes[:'first_name'] end if attributes.key?(:'gcp_service_account_email') self.gcp_service_account_email = attributes[:'gcp_service_account_email'] end if attributes.key?(:'gcp_service_account_key') self.gcp_service_account_key = attributes[:'gcp_service_account_key'] end if attributes.key?(:'gcp_service_account_key_base64') self.gcp_service_account_key_base64 = attributes[:'gcp_service_account_key_base64'] end if attributes.key?(:'github_app_id') self.github_app_id = attributes[:'github_app_id'] end if attributes.key?(:'github_app_private_key') self.github_app_private_key = attributes[:'github_app_private_key'] end if attributes.key?(:'github_base_url') self.github_base_url = attributes[:'github_base_url'] end if attributes.key?(:'gke_cluster_ca_certificate') self.gke_cluster_ca_certificate = attributes[:'gke_cluster_ca_certificate'] end if attributes.key?(:'gke_cluster_endpoint') self.gke_cluster_endpoint = attributes[:'gke_cluster_endpoint'] end if attributes.key?(:'gke_cluster_name') self.gke_cluster_name = attributes[:'gke_cluster_name'] end if attributes.key?(:'gke_service_account_key') self.gke_service_account_key = attributes[:'gke_service_account_key'] end if attributes.key?(:'gke_service_account_name') self.gke_service_account_name = attributes[:'gke_service_account_name'] end if attributes.key?(:'host') self.host = attributes[:'host'] end if attributes.key?(:'hostname') self.hostname = attributes[:'hostname'] end if attributes.key?(:'hosts') if (value = attributes[:'hosts']).is_a?(Hash) self.hosts = value end end if attributes.key?(:'imap_fqdn') self.imap_fqdn = attributes[:'imap_fqdn'] end if attributes.key?(:'imap_password') self.imap_password = attributes[:'imap_password'] end if attributes.key?(:'imap_port') self.imap_port = attributes[:'imap_port'] end if attributes.key?(:'imap_user') self.imap_user = attributes[:'imap_user'] end if attributes.key?(:'implementation_type') self.implementation_type = attributes[:'implementation_type'] end if attributes.key?(:'k8s_bearer_token') self.k8s_bearer_token = attributes[:'k8s_bearer_token'] end if attributes.key?(:'k8s_cluster_ca_certificate') self.k8s_cluster_ca_certificate = attributes[:'k8s_cluster_ca_certificate'] end if attributes.key?(:'k8s_cluster_endpoint') self.k8s_cluster_endpoint = attributes[:'k8s_cluster_endpoint'] end if attributes.key?(:'last_name') self.last_name = attributes[:'last_name'] end if attributes.key?(:'ldap_audience') self.ldap_audience = attributes[:'ldap_audience'] end if attributes.key?(:'ldap_bind_dn') self.ldap_bind_dn = attributes[:'ldap_bind_dn'] end if attributes.key?(:'ldap_bind_password') self.ldap_bind_password = attributes[:'ldap_bind_password'] end if attributes.key?(:'ldap_certificate') self.ldap_certificate = attributes[:'ldap_certificate'] end if attributes.key?(:'ldap_token_expiration') self.ldap_token_expiration = attributes[:'ldap_token_expiration'] end if attributes.key?(:'ldap_url') self.ldap_url = attributes[:'ldap_url'] end if attributes.key?(:'mongodb_atlas_api_private_key') self.mongodb_atlas_api_private_key = attributes[:'mongodb_atlas_api_private_key'] end if attributes.key?(:'mongodb_atlas_api_public_key') self.mongodb_atlas_api_public_key = attributes[:'mongodb_atlas_api_public_key'] end if attributes.key?(:'mongodb_atlas_project_id') self.mongodb_atlas_project_id = attributes[:'mongodb_atlas_project_id'] end if attributes.key?(:'mongodb_db_name') self.mongodb_db_name = attributes[:'mongodb_db_name'] end if attributes.key?(:'mongodb_default_auth_db') self.mongodb_default_auth_db = attributes[:'mongodb_default_auth_db'] end if attributes.key?(:'mongodb_host_port') self.mongodb_host_port = attributes[:'mongodb_host_port'] end if attributes.key?(:'mongodb_is_atlas') self.mongodb_is_atlas = attributes[:'mongodb_is_atlas'] end if attributes.key?(:'mongodb_password') self.mongodb_password = attributes[:'mongodb_password'] end if attributes.key?(:'mongodb_uri_connection') self.mongodb_uri_connection = attributes[:'mongodb_uri_connection'] end if attributes.key?(:'mongodb_uri_options') self. = attributes[:'mongodb_uri_options'] end if attributes.key?(:'mongodb_username') self.mongodb_username = attributes[:'mongodb_username'] end if attributes.key?(:'password') self.password = attributes[:'password'] end if attributes.key?(:'payload') self.payload = attributes[:'payload'] end if attributes.key?(:'phone') self.phone = attributes[:'phone'] end if attributes.key?(:'ping_url') self.ping_url = attributes[:'ping_url'] end if attributes.key?(:'port') self.port = attributes[:'port'] end if attributes.key?(:'private_key') self.private_key = attributes[:'private_key'] end if attributes.key?(:'private_key_password') self.private_key_password = attributes[:'private_key_password'] end if attributes.key?(:'privileged_user') self.privileged_user = attributes[:'privileged_user'] end if attributes.key?(:'profile_id') self.profile_id = attributes[:'profile_id'] end if attributes.key?(:'rabbitmq_server_password') self.rabbitmq_server_password = attributes[:'rabbitmq_server_password'] end if attributes.key?(:'rabbitmq_server_uri') self.rabbitmq_server_uri = attributes[:'rabbitmq_server_uri'] end if attributes.key?(:'rabbitmq_server_user') self.rabbitmq_server_user = attributes[:'rabbitmq_server_user'] end if attributes.key?(:'security_token') self.security_token = attributes[:'security_token'] end if attributes.key?(:'sf_account') self.sf_account = attributes[:'sf_account'] end if attributes.key?(:'ssl_connection_certificate') self.ssl_connection_certificate = attributes[:'ssl_connection_certificate'] end if attributes.key?(:'ssl_connection_mode') self.ssl_connection_mode = attributes[:'ssl_connection_mode'] end if attributes.key?(:'tenant_url') self.tenant_url = attributes[:'tenant_url'] end if attributes.key?(:'timeout') self.timeout = attributes[:'timeout'] end if attributes.key?(:'url') self.url = attributes[:'url'] end if attributes.key?(:'use_gw_cloud_identity') self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity'] end if attributes.key?(:'use_gw_service_account') self.use_gw_service_account = attributes[:'use_gw_service_account'] end if attributes.key?(:'use_tls') self.use_tls = attributes[:'use_tls'] end if attributes.key?(:'user_name') self.user_name = attributes[:'user_name'] end if attributes.key?(:'user_password') self.user_password = attributes[:'user_password'] end if attributes.key?(:'username') self.username = attributes[:'username'] end if attributes.key?(:'validation_email') self.validation_email = attributes[:'validation_email'] end if attributes.key?(:'venafi_api_key') self.venafi_api_key = attributes[:'venafi_api_key'] end if attributes.key?(:'venafi_base_url') self.venafi_base_url = attributes[:'venafi_base_url'] end if attributes.key?(:'venafi_tpp_access_token') self.venafi_tpp_access_token = attributes[:'venafi_tpp_access_token'] end if attributes.key?(:'venafi_tpp_client_id') self.venafi_tpp_client_id = attributes[:'venafi_tpp_client_id'] end if attributes.key?(:'venafi_tpp_password') self.venafi_tpp_password = attributes[:'venafi_tpp_password'] end if attributes.key?(:'venafi_tpp_refresh_token') self.venafi_tpp_refresh_token = attributes[:'venafi_tpp_refresh_token'] end if attributes.key?(:'venafi_tpp_username') self.venafi_tpp_username = attributes[:'venafi_tpp_username'] end if attributes.key?(:'venafi_use_tpp') self.venafi_use_tpp = attributes[:'venafi_use_tpp'] end if attributes.key?(:'venafi_zone') self.venafi_zone = attributes[:'venafi_zone'] end end |
Instance Attribute Details
#administrative_port ⇒ Object
Returns the value of attribute administrative_port.
18 19 20 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 18 def administrative_port @administrative_port end |
#api_key ⇒ Object
Returns the value of attribute api_key.
20 21 22 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 20 def api_key @api_key end |
#app_private_key ⇒ Object
params needed for jwt auth AppPrivateKey is the rsa private key in PEM format
23 24 25 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 23 def app_private_key @app_private_key end |
#artifactory_admin_apikey ⇒ Object
Returns the value of attribute artifactory_admin_apikey.
25 26 27 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 25 def artifactory_admin_apikey @artifactory_admin_apikey end |
#artifactory_admin_username ⇒ Object
Returns the value of attribute artifactory_admin_username.
27 28 29 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 27 def artifactory_admin_username @artifactory_admin_username end |
#artifactory_base_url ⇒ Object
Returns the value of attribute artifactory_base_url.
29 30 31 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 29 def artifactory_base_url @artifactory_base_url end |
#auth_flow ⇒ Object
Returns the value of attribute auth_flow.
31 32 33 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 31 def auth_flow @auth_flow end |
#authorization_port ⇒ Object
Returns the value of attribute authorization_port.
33 34 35 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 33 def @authorization_port end |
#aws_access_key_id ⇒ Object
Returns the value of attribute aws_access_key_id.
35 36 37 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 35 def aws_access_key_id @aws_access_key_id end |
#aws_region ⇒ Object
Returns the value of attribute aws_region.
37 38 39 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 37 def aws_region @aws_region end |
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
39 40 41 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 39 def aws_secret_access_key @aws_secret_access_key end |
#aws_session_token ⇒ Object
Returns the value of attribute aws_session_token.
41 42 43 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 41 def aws_session_token @aws_session_token end |
#azure_client_id ⇒ Object
Returns the value of attribute azure_client_id.
43 44 45 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 43 def azure_client_id @azure_client_id end |
#azure_client_secret ⇒ Object
Returns the value of attribute azure_client_secret.
45 46 47 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 45 def azure_client_secret @azure_client_secret end |
#azure_resource_group_name ⇒ Object
Returns the value of attribute azure_resource_group_name.
47 48 49 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 47 def azure_resource_group_name @azure_resource_group_name end |
#azure_resource_name ⇒ Object
Returns the value of attribute azure_resource_name.
49 50 51 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 49 def azure_resource_name @azure_resource_name end |
#azure_subscription_id ⇒ Object
Returns the value of attribute azure_subscription_id.
51 52 53 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 51 def azure_subscription_id @azure_subscription_id end |
#azure_tenant_id ⇒ Object
Returns the value of attribute azure_tenant_id.
53 54 55 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 53 def azure_tenant_id @azure_tenant_id end |
#ca_cert_data ⇒ Object
CACertData is the rsa 4096 certificate data in PEM format
56 57 58 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 56 def ca_cert_data @ca_cert_data end |
#ca_cert_name ⇒ Object
CACertName is the name of the certificate in SalesForce tenant
59 60 61 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 59 def ca_cert_name @ca_cert_name end |
#certificate ⇒ Object
Returns the value of attribute certificate.
61 62 63 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 61 def certificate @certificate end |
#chef_server_host_name ⇒ Object
Returns the value of attribute chef_server_host_name.
63 64 65 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 63 def chef_server_host_name @chef_server_host_name end |
#chef_server_key ⇒ Object
Returns the value of attribute chef_server_key.
65 66 67 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 65 def chef_server_key @chef_server_key end |
#chef_server_port ⇒ Object
Returns the value of attribute chef_server_port.
67 68 69 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 67 def chef_server_port @chef_server_port end |
#chef_server_url ⇒ Object
Returns the value of attribute chef_server_url.
69 70 71 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 69 def chef_server_url @chef_server_url end |
#chef_server_username ⇒ Object
Returns the value of attribute chef_server_username.
71 72 73 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 71 def chef_server_username @chef_server_username end |
#chef_skip_ssl ⇒ Object
Returns the value of attribute chef_skip_ssl.
73 74 75 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 73 def chef_skip_ssl @chef_skip_ssl end |
#client_id ⇒ Object
Returns the value of attribute client_id.
75 76 77 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 75 def client_id @client_id end |
#client_secret ⇒ Object
params needed for password auth
78 79 80 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 78 def client_secret @client_secret end |
#db_host_name ⇒ Object
Returns the value of attribute db_host_name.
80 81 82 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 80 def db_host_name @db_host_name end |
#db_name ⇒ Object
Returns the value of attribute db_name.
82 83 84 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 82 def db_name @db_name end |
#db_port ⇒ Object
Returns the value of attribute db_port.
84 85 86 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 84 def db_port @db_port end |
#db_private_key ⇒ Object
(Optional) Private Key in PEM format
87 88 89 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 87 def db_private_key @db_private_key end |
#db_private_key_passphrase ⇒ Object
Returns the value of attribute db_private_key_passphrase.
89 90 91 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 89 def db_private_key_passphrase @db_private_key_passphrase end |
#db_pwd ⇒ Object
Returns the value of attribute db_pwd.
91 92 93 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 91 def db_pwd @db_pwd end |
#db_server_certificates ⇒ Object
(Optional) DBServerCertificates defines the set of root certificate authorities that clients use when verifying server certificates. If DBServerCertificates is empty, TLS uses the host’s root CA set.
94 95 96 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 94 def db_server_certificates @db_server_certificates end |
#db_server_name ⇒ Object
(Optional) ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client’s handshake to support virtual hosting unless it is an IP address.
97 98 99 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 97 def db_server_name @db_server_name end |
#db_user_name ⇒ Object
Returns the value of attribute db_user_name.
99 100 101 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 99 def db_user_name @db_user_name end |
#domain_name ⇒ Object
Returns the value of attribute domain_name.
101 102 103 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 101 def domain_name @domain_name end |
#eks_access_key_id ⇒ Object
Returns the value of attribute eks_access_key_id.
103 104 105 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 103 def eks_access_key_id @eks_access_key_id end |
#eks_cluster_ca_certificate ⇒ Object
Returns the value of attribute eks_cluster_ca_certificate.
105 106 107 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 105 def eks_cluster_ca_certificate @eks_cluster_ca_certificate end |
#eks_cluster_endpoint ⇒ Object
Returns the value of attribute eks_cluster_endpoint.
107 108 109 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 107 def eks_cluster_endpoint @eks_cluster_endpoint end |
#eks_cluster_name ⇒ Object
Returns the value of attribute eks_cluster_name.
109 110 111 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 109 def eks_cluster_name @eks_cluster_name end |
#eks_region ⇒ Object
Returns the value of attribute eks_region.
111 112 113 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 111 def eks_region @eks_region end |
#eks_secret_access_key ⇒ Object
Returns the value of attribute eks_secret_access_key.
113 114 115 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 113 def eks_secret_access_key @eks_secret_access_key end |
#email ⇒ Object
Returns the value of attribute email.
115 116 117 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 115 def email @email end |
#first_name ⇒ Object
Contact Info - GlobalSign requires this to be sent with every certificate creation request
118 119 120 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 118 def first_name @first_name end |
#gcp_service_account_email ⇒ Object
deprecated
121 122 123 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 121 def gcp_service_account_email @gcp_service_account_email end |
#gcp_service_account_key ⇒ Object
Returns the value of attribute gcp_service_account_key.
123 124 125 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 123 def gcp_service_account_key @gcp_service_account_key end |
#gcp_service_account_key_base64 ⇒ Object
Returns the value of attribute gcp_service_account_key_base64.
125 126 127 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 125 def gcp_service_account_key_base64 @gcp_service_account_key_base64 end |
#github_app_id ⇒ Object
Returns the value of attribute github_app_id.
127 128 129 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 127 def github_app_id @github_app_id end |
#github_app_private_key ⇒ Object
Returns the value of attribute github_app_private_key.
129 130 131 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 129 def github_app_private_key @github_app_private_key end |
#github_base_url ⇒ Object
Returns the value of attribute github_base_url.
131 132 133 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 131 def github_base_url @github_base_url end |
#gke_cluster_ca_certificate ⇒ Object
Returns the value of attribute gke_cluster_ca_certificate.
133 134 135 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 133 def gke_cluster_ca_certificate @gke_cluster_ca_certificate end |
#gke_cluster_endpoint ⇒ Object
Returns the value of attribute gke_cluster_endpoint.
135 136 137 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 135 def gke_cluster_endpoint @gke_cluster_endpoint end |
#gke_cluster_name ⇒ Object
Returns the value of attribute gke_cluster_name.
137 138 139 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 137 def gke_cluster_name @gke_cluster_name end |
#gke_service_account_key ⇒ Object
Returns the value of attribute gke_service_account_key.
139 140 141 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 139 def gke_service_account_key @gke_service_account_key end |
#gke_service_account_name ⇒ Object
Returns the value of attribute gke_service_account_name.
141 142 143 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 141 def gke_service_account_name @gke_service_account_name end |
#host ⇒ Object
Returns the value of attribute host.
143 144 145 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 143 def host @host end |
#hostname ⇒ Object
Returns the value of attribute hostname.
145 146 147 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 145 def hostname @hostname end |
#hosts ⇒ Object
Returns the value of attribute hosts.
147 148 149 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 147 def hosts @hosts end |
#imap_fqdn ⇒ Object
Returns the value of attribute imap_fqdn.
149 150 151 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 149 def imap_fqdn @imap_fqdn end |
#imap_password ⇒ Object
Returns the value of attribute imap_password.
151 152 153 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 151 def imap_password @imap_password end |
#imap_port ⇒ Object
Returns the value of attribute imap_port.
153 154 155 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 153 def imap_port @imap_port end |
#imap_user ⇒ Object
Returns the value of attribute imap_user.
155 156 157 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 155 def imap_user @imap_user end |
#implementation_type ⇒ Object
Returns the value of attribute implementation_type.
157 158 159 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 157 def implementation_type @implementation_type end |
#k8s_bearer_token ⇒ Object
Returns the value of attribute k8s_bearer_token.
159 160 161 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 159 def k8s_bearer_token @k8s_bearer_token end |
#k8s_cluster_ca_certificate ⇒ Object
Returns the value of attribute k8s_cluster_ca_certificate.
161 162 163 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 161 def k8s_cluster_ca_certificate @k8s_cluster_ca_certificate end |
#k8s_cluster_endpoint ⇒ Object
Returns the value of attribute k8s_cluster_endpoint.
163 164 165 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 163 def k8s_cluster_endpoint @k8s_cluster_endpoint end |
#last_name ⇒ Object
Returns the value of attribute last_name.
165 166 167 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 165 def last_name @last_name end |
#ldap_audience ⇒ Object
Returns the value of attribute ldap_audience.
167 168 169 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 167 def ldap_audience @ldap_audience end |
#ldap_bind_dn ⇒ Object
Returns the value of attribute ldap_bind_dn.
169 170 171 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 169 def ldap_bind_dn @ldap_bind_dn end |
#ldap_bind_password ⇒ Object
Returns the value of attribute ldap_bind_password.
171 172 173 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 171 def ldap_bind_password @ldap_bind_password end |
#ldap_certificate ⇒ Object
Returns the value of attribute ldap_certificate.
173 174 175 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 173 def ldap_certificate @ldap_certificate end |
#ldap_token_expiration ⇒ Object
Returns the value of attribute ldap_token_expiration.
175 176 177 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 175 def ldap_token_expiration @ldap_token_expiration end |
#ldap_url ⇒ Object
Returns the value of attribute ldap_url.
177 178 179 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 177 def ldap_url @ldap_url end |
#mongodb_atlas_api_private_key ⇒ Object
Returns the value of attribute mongodb_atlas_api_private_key.
179 180 181 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 179 def mongodb_atlas_api_private_key @mongodb_atlas_api_private_key end |
#mongodb_atlas_api_public_key ⇒ Object
Returns the value of attribute mongodb_atlas_api_public_key.
181 182 183 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 181 def mongodb_atlas_api_public_key @mongodb_atlas_api_public_key end |
#mongodb_atlas_project_id ⇒ Object
mongodb atlas fields
184 185 186 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 184 def mongodb_atlas_project_id @mongodb_atlas_project_id end |
#mongodb_db_name ⇒ Object
common fields
187 188 189 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 187 def mongodb_db_name @mongodb_db_name end |
#mongodb_default_auth_db ⇒ Object
Returns the value of attribute mongodb_default_auth_db.
189 190 191 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 189 def mongodb_default_auth_db @mongodb_default_auth_db end |
#mongodb_host_port ⇒ Object
Returns the value of attribute mongodb_host_port.
191 192 193 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 191 def mongodb_host_port @mongodb_host_port end |
#mongodb_is_atlas ⇒ Object
Returns the value of attribute mongodb_is_atlas.
193 194 195 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 193 def mongodb_is_atlas @mongodb_is_atlas end |
#mongodb_password ⇒ Object
Returns the value of attribute mongodb_password.
195 196 197 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 195 def mongodb_password @mongodb_password end |
#mongodb_uri_connection ⇒ Object
mongodb fields
198 199 200 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 198 def mongodb_uri_connection @mongodb_uri_connection end |
#mongodb_uri_options ⇒ Object
Returns the value of attribute mongodb_uri_options.
200 201 202 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 200 def @mongodb_uri_options end |
#mongodb_username ⇒ Object
Returns the value of attribute mongodb_username.
202 203 204 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 202 def mongodb_username @mongodb_username end |
#password ⇒ Object
Returns the value of attribute password.
204 205 206 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 204 def password @password end |
#payload ⇒ Object
Returns the value of attribute payload.
206 207 208 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 206 def payload @payload end |
#phone ⇒ Object
Returns the value of attribute phone.
208 209 210 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 208 def phone @phone end |
#ping_url ⇒ Object
Returns the value of attribute ping_url.
210 211 212 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 210 def ping_url @ping_url end |
#port ⇒ Object
Returns the value of attribute port.
212 213 214 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 212 def port @port end |
#private_key ⇒ Object
Returns the value of attribute private_key.
214 215 216 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 214 def private_key @private_key end |
#private_key_password ⇒ Object
Returns the value of attribute private_key_password.
216 217 218 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 216 def private_key_password @private_key_password end |
#privileged_user ⇒ Object
Returns the value of attribute privileged_user.
218 219 220 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 218 def privileged_user @privileged_user end |
#profile_id ⇒ Object
Returns the value of attribute profile_id.
220 221 222 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 220 def profile_id @profile_id end |
#rabbitmq_server_password ⇒ Object
Returns the value of attribute rabbitmq_server_password.
222 223 224 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 222 def rabbitmq_server_password @rabbitmq_server_password end |
#rabbitmq_server_uri ⇒ Object
Returns the value of attribute rabbitmq_server_uri.
224 225 226 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 224 def rabbitmq_server_uri @rabbitmq_server_uri end |
#rabbitmq_server_user ⇒ Object
Returns the value of attribute rabbitmq_server_user.
226 227 228 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 226 def rabbitmq_server_user @rabbitmq_server_user end |
#security_token ⇒ Object
Returns the value of attribute security_token.
228 229 230 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 228 def security_token @security_token end |
#sf_account ⇒ Object
Returns the value of attribute sf_account.
230 231 232 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 230 def sf_account @sf_account end |
#ssl_connection_certificate ⇒ Object
(Optional) SSLConnectionCertificate defines the certificate for SSL connection. Must be base64 certificate loaded by UI using file loader field
233 234 235 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 233 def ssl_connection_certificate @ssl_connection_certificate end |
#ssl_connection_mode ⇒ Object
(Optional) SSLConnectionMode defines if SSL mode will be used to connect to DB
236 237 238 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 236 def ssl_connection_mode @ssl_connection_mode end |
#tenant_url ⇒ Object
Returns the value of attribute tenant_url.
238 239 240 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 238 def tenant_url @tenant_url end |
#timeout ⇒ Object
A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
241 242 243 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 241 def timeout @timeout end |
#url ⇒ Object
Returns the value of attribute url.
243 244 245 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 243 def url @url end |
#use_gw_cloud_identity ⇒ Object
Returns the value of attribute use_gw_cloud_identity.
245 246 247 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 245 def use_gw_cloud_identity @use_gw_cloud_identity end |
#use_gw_service_account ⇒ Object
Returns the value of attribute use_gw_service_account.
247 248 249 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 247 def use_gw_service_account @use_gw_service_account end |
#use_tls ⇒ Object
Returns the value of attribute use_tls.
249 250 251 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 249 def use_tls @use_tls end |
#user_name ⇒ Object
Returns the value of attribute user_name.
251 252 253 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 251 def user_name @user_name end |
#user_password ⇒ Object
Returns the value of attribute user_password.
253 254 255 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 253 def user_password @user_password end |
#username ⇒ Object
Returns the value of attribute username.
255 256 257 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 255 def username @username end |
#validation_email ⇒ Object
Returns the value of attribute validation_email.
257 258 259 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 257 def validation_email @validation_email end |
#venafi_api_key ⇒ Object
Returns the value of attribute venafi_api_key.
259 260 261 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 259 def venafi_api_key @venafi_api_key end |
#venafi_base_url ⇒ Object
Returns the value of attribute venafi_base_url.
261 262 263 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 261 def venafi_base_url @venafi_base_url end |
#venafi_tpp_access_token ⇒ Object
Returns the value of attribute venafi_tpp_access_token.
263 264 265 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 263 def venafi_tpp_access_token @venafi_tpp_access_token end |
#venafi_tpp_client_id ⇒ Object
Returns the value of attribute venafi_tpp_client_id.
265 266 267 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 265 def venafi_tpp_client_id @venafi_tpp_client_id end |
#venafi_tpp_password ⇒ Object
Deprecated: VenafiAccessToken and VenafiRefreshToken should be used instead
268 269 270 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 268 def venafi_tpp_password @venafi_tpp_password end |
#venafi_tpp_refresh_token ⇒ Object
Returns the value of attribute venafi_tpp_refresh_token.
270 271 272 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 270 def venafi_tpp_refresh_token @venafi_tpp_refresh_token end |
#venafi_tpp_username ⇒ Object
Deprecated: VenafiAccessToken and VenafiRefreshToken should be used instead
273 274 275 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 273 def venafi_tpp_username @venafi_tpp_username end |
#venafi_use_tpp ⇒ Object
Returns the value of attribute venafi_use_tpp.
275 276 277 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 275 def venafi_use_tpp @venafi_use_tpp end |
#venafi_zone ⇒ Object
Returns the value of attribute venafi_zone.
277 278 279 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 277 def venafi_zone @venafi_zone end |
Class Method Details
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
408 409 410 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 408 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 280 def self.attribute_map { :'administrative_port' => :'administrative_port', :'api_key' => :'api_key', :'app_private_key' => :'app_private_key', :'artifactory_admin_apikey' => :'artifactory_admin_apikey', :'artifactory_admin_username' => :'artifactory_admin_username', :'artifactory_base_url' => :'artifactory_base_url', :'auth_flow' => :'auth_flow', :'authorization_port' => :'authorization_port', :'aws_access_key_id' => :'aws_access_key_id', :'aws_region' => :'aws_region', :'aws_secret_access_key' => :'aws_secret_access_key', :'aws_session_token' => :'aws_session_token', :'azure_client_id' => :'azure_client_id', :'azure_client_secret' => :'azure_client_secret', :'azure_resource_group_name' => :'azure_resource_group_name', :'azure_resource_name' => :'azure_resource_name', :'azure_subscription_id' => :'azure_subscription_id', :'azure_tenant_id' => :'azure_tenant_id', :'ca_cert_data' => :'ca_cert_data', :'ca_cert_name' => :'ca_cert_name', :'certificate' => :'certificate', :'chef_server_host_name' => :'chef_server_host_name', :'chef_server_key' => :'chef_server_key', :'chef_server_port' => :'chef_server_port', :'chef_server_url' => :'chef_server_url', :'chef_server_username' => :'chef_server_username', :'chef_skip_ssl' => :'chef_skip_ssl', :'client_id' => :'client_id', :'client_secret' => :'client_secret', :'db_host_name' => :'db_host_name', :'db_name' => :'db_name', :'db_port' => :'db_port', :'db_private_key' => :'db_private_key', :'db_private_key_passphrase' => :'db_private_key_passphrase', :'db_pwd' => :'db_pwd', :'db_server_certificates' => :'db_server_certificates', :'db_server_name' => :'db_server_name', :'db_user_name' => :'db_user_name', :'domain_name' => :'domain_name', :'eks_access_key_id' => :'eks_access_key_id', :'eks_cluster_ca_certificate' => :'eks_cluster_ca_certificate', :'eks_cluster_endpoint' => :'eks_cluster_endpoint', :'eks_cluster_name' => :'eks_cluster_name', :'eks_region' => :'eks_region', :'eks_secret_access_key' => :'eks_secret_access_key', :'email' => :'email', :'first_name' => :'first_name', :'gcp_service_account_email' => :'gcp_service_account_email', :'gcp_service_account_key' => :'gcp_service_account_key', :'gcp_service_account_key_base64' => :'gcp_service_account_key_base64', :'github_app_id' => :'github_app_id', :'github_app_private_key' => :'github_app_private_key', :'github_base_url' => :'github_base_url', :'gke_cluster_ca_certificate' => :'gke_cluster_ca_certificate', :'gke_cluster_endpoint' => :'gke_cluster_endpoint', :'gke_cluster_name' => :'gke_cluster_name', :'gke_service_account_key' => :'gke_service_account_key', :'gke_service_account_name' => :'gke_service_account_name', :'host' => :'host', :'hostname' => :'hostname', :'hosts' => :'hosts', :'imap_fqdn' => :'imap_fqdn', :'imap_password' => :'imap_password', :'imap_port' => :'imap_port', :'imap_user' => :'imap_user', :'implementation_type' => :'implementation_type', :'k8s_bearer_token' => :'k8s_bearer_token', :'k8s_cluster_ca_certificate' => :'k8s_cluster_ca_certificate', :'k8s_cluster_endpoint' => :'k8s_cluster_endpoint', :'last_name' => :'last_name', :'ldap_audience' => :'ldap_audience', :'ldap_bind_dn' => :'ldap_bind_dn', :'ldap_bind_password' => :'ldap_bind_password', :'ldap_certificate' => :'ldap_certificate', :'ldap_token_expiration' => :'ldap_token_expiration', :'ldap_url' => :'ldap_url', :'mongodb_atlas_api_private_key' => :'mongodb_atlas_api_private_key', :'mongodb_atlas_api_public_key' => :'mongodb_atlas_api_public_key', :'mongodb_atlas_project_id' => :'mongodb_atlas_project_id', :'mongodb_db_name' => :'mongodb_db_name', :'mongodb_default_auth_db' => :'mongodb_default_auth_db', :'mongodb_host_port' => :'mongodb_host_port', :'mongodb_is_atlas' => :'mongodb_is_atlas', :'mongodb_password' => :'mongodb_password', :'mongodb_uri_connection' => :'mongodb_uri_connection', :'mongodb_uri_options' => :'mongodb_uri_options', :'mongodb_username' => :'mongodb_username', :'password' => :'password', :'payload' => :'payload', :'phone' => :'phone', :'ping_url' => :'ping_url', :'port' => :'port', :'private_key' => :'private_key', :'private_key_password' => :'private_key_password', :'privileged_user' => :'privileged_user', :'profile_id' => :'profile_id', :'rabbitmq_server_password' => :'rabbitmq_server_password', :'rabbitmq_server_uri' => :'rabbitmq_server_uri', :'rabbitmq_server_user' => :'rabbitmq_server_user', :'security_token' => :'security_token', :'sf_account' => :'sf_account', :'ssl_connection_certificate' => :'ssl_connection_certificate', :'ssl_connection_mode' => :'ssl_connection_mode', :'tenant_url' => :'tenant_url', :'timeout' => :'timeout', :'url' => :'url', :'use_gw_cloud_identity' => :'use_gw_cloud_identity', :'use_gw_service_account' => :'use_gw_service_account', :'use_tls' => :'use_tls', :'user_name' => :'user_name', :'user_password' => :'user_password', :'username' => :'username', :'validation_email' => :'validation_email', :'venafi_api_key' => :'venafi_api_key', :'venafi_base_url' => :'venafi_base_url', :'venafi_tpp_access_token' => :'venafi_tpp_access_token', :'venafi_tpp_client_id' => :'venafi_tpp_client_id', :'venafi_tpp_password' => :'venafi_tpp_password', :'venafi_tpp_refresh_token' => :'venafi_tpp_refresh_token', :'venafi_tpp_username' => :'venafi_tpp_username', :'venafi_use_tpp' => :'venafi_use_tpp', :'venafi_zone' => :'venafi_zone' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
1213 1214 1215 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1213 def self.build_from_hash(attributes) new.build_from_hash(attributes) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
541 542 543 544 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 541 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 413 def self.openapi_types { :'administrative_port' => :'String', :'api_key' => :'String', :'app_private_key' => :'Array<Integer>', :'artifactory_admin_apikey' => :'String', :'artifactory_admin_username' => :'String', :'artifactory_base_url' => :'String', :'auth_flow' => :'String', :'authorization_port' => :'String', :'aws_access_key_id' => :'String', :'aws_region' => :'String', :'aws_secret_access_key' => :'String', :'aws_session_token' => :'String', :'azure_client_id' => :'String', :'azure_client_secret' => :'String', :'azure_resource_group_name' => :'String', :'azure_resource_name' => :'String', :'azure_subscription_id' => :'String', :'azure_tenant_id' => :'String', :'ca_cert_data' => :'Array<Integer>', :'ca_cert_name' => :'String', :'certificate' => :'String', :'chef_server_host_name' => :'String', :'chef_server_key' => :'String', :'chef_server_port' => :'String', :'chef_server_url' => :'String', :'chef_server_username' => :'String', :'chef_skip_ssl' => :'Boolean', :'client_id' => :'String', :'client_secret' => :'String', :'db_host_name' => :'String', :'db_name' => :'String', :'db_port' => :'String', :'db_private_key' => :'String', :'db_private_key_passphrase' => :'String', :'db_pwd' => :'String', :'db_server_certificates' => :'String', :'db_server_name' => :'String', :'db_user_name' => :'String', :'domain_name' => :'String', :'eks_access_key_id' => :'String', :'eks_cluster_ca_certificate' => :'String', :'eks_cluster_endpoint' => :'String', :'eks_cluster_name' => :'String', :'eks_region' => :'String', :'eks_secret_access_key' => :'String', :'email' => :'String', :'first_name' => :'String', :'gcp_service_account_email' => :'String', :'gcp_service_account_key' => :'String', :'gcp_service_account_key_base64' => :'String', :'github_app_id' => :'Integer', :'github_app_private_key' => :'String', :'github_base_url' => :'String', :'gke_cluster_ca_certificate' => :'String', :'gke_cluster_endpoint' => :'String', :'gke_cluster_name' => :'String', :'gke_service_account_key' => :'String', :'gke_service_account_name' => :'String', :'host' => :'String', :'hostname' => :'String', :'hosts' => :'Hash<String, String>', :'imap_fqdn' => :'String', :'imap_password' => :'String', :'imap_port' => :'String', :'imap_user' => :'String', :'implementation_type' => :'String', :'k8s_bearer_token' => :'String', :'k8s_cluster_ca_certificate' => :'String', :'k8s_cluster_endpoint' => :'String', :'last_name' => :'String', :'ldap_audience' => :'String', :'ldap_bind_dn' => :'String', :'ldap_bind_password' => :'String', :'ldap_certificate' => :'String', :'ldap_token_expiration' => :'String', :'ldap_url' => :'String', :'mongodb_atlas_api_private_key' => :'String', :'mongodb_atlas_api_public_key' => :'String', :'mongodb_atlas_project_id' => :'String', :'mongodb_db_name' => :'String', :'mongodb_default_auth_db' => :'String', :'mongodb_host_port' => :'String', :'mongodb_is_atlas' => :'Boolean', :'mongodb_password' => :'String', :'mongodb_uri_connection' => :'String', :'mongodb_uri_options' => :'String', :'mongodb_username' => :'String', :'password' => :'String', :'payload' => :'String', :'phone' => :'String', :'ping_url' => :'String', :'port' => :'String', :'private_key' => :'String', :'private_key_password' => :'String', :'privileged_user' => :'String', :'profile_id' => :'String', :'rabbitmq_server_password' => :'String', :'rabbitmq_server_uri' => :'String', :'rabbitmq_server_user' => :'String', :'security_token' => :'String', :'sf_account' => :'String', :'ssl_connection_certificate' => :'String', :'ssl_connection_mode' => :'Boolean', :'tenant_url' => :'String', :'timeout' => :'Integer', :'url' => :'String', :'use_gw_cloud_identity' => :'Boolean', :'use_gw_service_account' => :'Boolean', :'use_tls' => :'Boolean', :'user_name' => :'String', :'user_password' => :'String', :'username' => :'String', :'validation_email' => :'String', :'venafi_api_key' => :'String', :'venafi_base_url' => :'String', :'venafi_tpp_access_token' => :'String', :'venafi_tpp_client_id' => :'String', :'venafi_tpp_password' => :'String', :'venafi_tpp_refresh_token' => :'String', :'venafi_tpp_username' => :'String', :'venafi_use_tpp' => :'Boolean', :'venafi_zone' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1071 def ==(o) return true if self.equal?(o) self.class == o.class && administrative_port == o.administrative_port && api_key == o.api_key && app_private_key == o.app_private_key && artifactory_admin_apikey == o.artifactory_admin_apikey && artifactory_admin_username == o.artifactory_admin_username && artifactory_base_url == o.artifactory_base_url && auth_flow == o.auth_flow && == o. && aws_access_key_id == o.aws_access_key_id && aws_region == o.aws_region && aws_secret_access_key == o.aws_secret_access_key && aws_session_token == o.aws_session_token && azure_client_id == o.azure_client_id && azure_client_secret == o.azure_client_secret && azure_resource_group_name == o.azure_resource_group_name && azure_resource_name == o.azure_resource_name && azure_subscription_id == o.azure_subscription_id && azure_tenant_id == o.azure_tenant_id && ca_cert_data == o.ca_cert_data && ca_cert_name == o.ca_cert_name && certificate == o.certificate && chef_server_host_name == o.chef_server_host_name && chef_server_key == o.chef_server_key && chef_server_port == o.chef_server_port && chef_server_url == o.chef_server_url && chef_server_username == o.chef_server_username && chef_skip_ssl == o.chef_skip_ssl && client_id == o.client_id && client_secret == o.client_secret && db_host_name == o.db_host_name && db_name == o.db_name && db_port == o.db_port && db_private_key == o.db_private_key && db_private_key_passphrase == o.db_private_key_passphrase && db_pwd == o.db_pwd && db_server_certificates == o.db_server_certificates && db_server_name == o.db_server_name && db_user_name == o.db_user_name && domain_name == o.domain_name && eks_access_key_id == o.eks_access_key_id && eks_cluster_ca_certificate == o.eks_cluster_ca_certificate && eks_cluster_endpoint == o.eks_cluster_endpoint && eks_cluster_name == o.eks_cluster_name && eks_region == o.eks_region && eks_secret_access_key == o.eks_secret_access_key && email == o.email && first_name == o.first_name && gcp_service_account_email == o.gcp_service_account_email && gcp_service_account_key == o.gcp_service_account_key && gcp_service_account_key_base64 == o.gcp_service_account_key_base64 && github_app_id == o.github_app_id && github_app_private_key == o.github_app_private_key && github_base_url == o.github_base_url && gke_cluster_ca_certificate == o.gke_cluster_ca_certificate && gke_cluster_endpoint == o.gke_cluster_endpoint && gke_cluster_name == o.gke_cluster_name && gke_service_account_key == o.gke_service_account_key && gke_service_account_name == o.gke_service_account_name && host == o.host && hostname == o.hostname && hosts == o.hosts && imap_fqdn == o.imap_fqdn && imap_password == o.imap_password && imap_port == o.imap_port && imap_user == o.imap_user && implementation_type == o.implementation_type && k8s_bearer_token == o.k8s_bearer_token && k8s_cluster_ca_certificate == o.k8s_cluster_ca_certificate && k8s_cluster_endpoint == o.k8s_cluster_endpoint && last_name == o.last_name && ldap_audience == o.ldap_audience && ldap_bind_dn == o.ldap_bind_dn && ldap_bind_password == o.ldap_bind_password && ldap_certificate == o.ldap_certificate && ldap_token_expiration == o.ldap_token_expiration && ldap_url == o.ldap_url && mongodb_atlas_api_private_key == o.mongodb_atlas_api_private_key && mongodb_atlas_api_public_key == o.mongodb_atlas_api_public_key && mongodb_atlas_project_id == o.mongodb_atlas_project_id && mongodb_db_name == o.mongodb_db_name && mongodb_default_auth_db == o.mongodb_default_auth_db && mongodb_host_port == o.mongodb_host_port && mongodb_is_atlas == o.mongodb_is_atlas && mongodb_password == o.mongodb_password && mongodb_uri_connection == o.mongodb_uri_connection && == o. && mongodb_username == o.mongodb_username && password == o.password && payload == o.payload && phone == o.phone && ping_url == o.ping_url && port == o.port && private_key == o.private_key && private_key_password == o.private_key_password && privileged_user == o.privileged_user && profile_id == o.profile_id && rabbitmq_server_password == o.rabbitmq_server_password && rabbitmq_server_uri == o.rabbitmq_server_uri && rabbitmq_server_user == o.rabbitmq_server_user && security_token == o.security_token && sf_account == o.sf_account && ssl_connection_certificate == o.ssl_connection_certificate && ssl_connection_mode == o.ssl_connection_mode && tenant_url == o.tenant_url && timeout == o.timeout && url == o.url && use_gw_cloud_identity == o.use_gw_cloud_identity && use_gw_service_account == o.use_gw_service_account && use_tls == o.use_tls && user_name == o.user_name && user_password == o.user_password && username == o.username && validation_email == o.validation_email && venafi_api_key == o.venafi_api_key && venafi_base_url == o.venafi_base_url && venafi_tpp_access_token == o.venafi_tpp_access_token && venafi_tpp_client_id == o.venafi_tpp_client_id && venafi_tpp_password == o.venafi_tpp_password && venafi_tpp_refresh_token == o.venafi_tpp_refresh_token && venafi_tpp_username == o.venafi_tpp_username && venafi_use_tpp == o.venafi_use_tpp && venafi_zone == o.venafi_zone end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1244 def _deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = Akeyless.const_get(type) klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1315 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1220 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end |
#eql?(o) ⇒ Boolean
1200 1201 1202 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1200 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
1206 1207 1208 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1206 def hash [administrative_port, api_key, app_private_key, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, auth_flow, , aws_access_key_id, aws_region, aws_secret_access_key, aws_session_token, azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, ca_cert_data, ca_cert_name, certificate, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_id, client_secret, db_host_name, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_user_name, domain_name, eks_access_key_id, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, email, first_name, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, github_app_id, github_app_private_key, github_base_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, host, hostname, hosts, imap_fqdn, imap_password, imap_port, imap_user, implementation_type, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, last_name, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_uri_connection, , mongodb_username, password, payload, phone, ping_url, port, private_key, private_key_password, privileged_user, profile_id, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, security_token, sf_account, ssl_connection_certificate, ssl_connection_mode, tenant_url, timeout, url, use_gw_cloud_identity, use_gw_service_account, use_tls, user_name, user_password, username, validation_email, venafi_api_key, venafi_base_url, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
1058 1059 1060 1061 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1058 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1291 1292 1293 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1291 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1297 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
1285 1286 1287 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1285 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
1065 1066 1067 |
# File 'lib/akeyless/models/target_type_details_input.rb', line 1065 def valid? true end |