class PetStore::UserApi
- PetStore::UserApi
- Reference
- Object
Defined in:
pet_store/api/user_api.crConstructors
Instance Method Summary
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_create_user(*, user : PetStore::User | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_create_users_with_array_input(*, user : Array(PetStore::User) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_create_users_with_list_input(*, user : Array(PetStore::User) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_delete_user(*, username : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_get_user_by_name(*, username : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_login_user(*, username : String | Nil = nil, password : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_logout_user : Crest::Request
@return Crest::Request
-
#build_api_request_for_update_user(*, username : String | Nil = nil, user : PetStore::User | Nil = nil) : Crest::Request
@return Crest::Request
- #client_side_validation(*args, **options)
- #client_side_validation(*args, **options, &)
-
#create_user(*, user : PetStore::User | Nil = nil) : Nil
Create user This can only be done by the logged in user.
-
#create_user(*, user : PetStore::User | Nil = nil, &block : Crest::Response -> ) : Nil
Create user This can only be done by the logged in user.
-
#create_user_with_http_info(*, user : PetStore::User | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Create user This can only be done by the logged in user.
-
#create_users_with_array_input(*, user : Array(PetStore::User) | Nil = nil) : Nil
Creates list of users with given input array
-
#create_users_with_array_input(*, user : Array(PetStore::User) | Nil = nil, &block : Crest::Response -> ) : Nil
Creates list of users with given input array
-
#create_users_with_array_input_with_http_info(*, user : Array(PetStore::User) | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Creates list of users with given input array
-
#create_users_with_list_input(*, user : Array(PetStore::User) | Nil = nil) : Nil
Creates list of users with given input array
-
#create_users_with_list_input(*, user : Array(PetStore::User) | Nil = nil, &block : Crest::Response -> ) : Nil
Creates list of users with given input array
-
#create_users_with_list_input_with_http_info(*, user : Array(PetStore::User) | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Creates list of users with given input array
- #debugging(*args, **options)
- #debugging(*args, **options, &)
-
#delete_user(*, username : String | Nil = nil) : Nil
Delete user This can only be done by the logged in user.
-
#delete_user(*, username : String | Nil = nil, &block : Crest::Response -> ) : Nil
Delete user This can only be done by the logged in user.
-
#delete_user_with_http_info(*, username : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Delete user This can only be done by the logged in user.
-
#get_user_by_name(*, username : String | Nil = nil) : PetStore::User
Get user by user name
-
#get_user_by_name(*, username : String | Nil = nil, &block : Crest::Response -> ) : Nil
Get user by user name
-
#get_user_by_name_with_http_info(*, username : String | Nil = nil) : Tuple(PetStore::User, Int32, Hash(String, Array(String) | String))
Get user by user name
-
#login_user(*, username : String | Nil = nil, password : String | Nil = nil) : String
Logs user into the system
-
#login_user(*, username : String | Nil = nil, password : String | Nil = nil, &block : Crest::Response -> ) : Nil
Logs user into the system
-
#login_user_with_http_info(*, username : String | Nil = nil, password : String | Nil = nil) : Tuple(String, Int32, Hash(String, Array(String) | String))
Logs user into the system
-
#logout_user : Nil
Logs out current logged in user session
-
#logout_user(&block : Crest::Response -> ) : Nil
Logs out current logged in user session
-
#logout_user_with_http_info : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Logs out current logged in user session
-
#update_user(*, username : String | Nil = nil, user : PetStore::User | Nil = nil) : Nil
Updated user This can only be done by the logged in user.
-
#update_user(*, username : String | Nil = nil, user : PetStore::User | Nil = nil, &block : Crest::Response -> ) : Nil
Updated user This can only be done by the logged in user.
-
#update_user_with_http_info(*, username : String | Nil = nil, user : PetStore::User | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Updated user This can only be done by the logged in user.
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
Create user This can only be done by the logged in user. @required @param user [PetStore::User?] Created user object @return [Nil]
Create user This can only be done by the logged in user. @required @param user [PetStore::User?] Created user object @return nil
Create user This can only be done by the logged in user. @required @param user [PetStore::User?] Created user object @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Creates list of users with given input array
@required @param user [Array(PetStore::User)?] List of user object @return [Nil]
Creates list of users with given input array
@required @param user [Array(PetStore::User)?] List of user object @return nil
Creates list of users with given input array
@required @param user [Array(PetStore::User)?] List of user object @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Creates list of users with given input array
@required @param user [Array(PetStore::User)?] List of user object @return [Nil]
Creates list of users with given input array
@required @param user [Array(PetStore::User)?] List of user object @return nil
Creates list of users with given input array
@required @param user [Array(PetStore::User)?] List of user object @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Delete user This can only be done by the logged in user. @required @param username [String?] The name that needs to be deleted @return [Nil]
Delete user This can only be done by the logged in user. @required @param username [String?] The name that needs to be deleted @return nil
Delete user This can only be done by the logged in user. @required @param username [String?] The name that needs to be deleted @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Get user by user name
@required @param username [String?] The name that needs to be fetched. Use user1 for testing. @return [PetStore::User]
Get user by user name
@required @param username [String?] The name that needs to be fetched. Use user1 for testing. @return nil
Get user by user name
@required @param username [String?] The name that needs to be fetched. Use user1 for testing. @return [Tuple(PetStore::User, Integer, Hash)] PetStore::User, response status code and response headers
Logs user into the system
@required @param username [String?] The user name for login @required @param password [String?] The password for login in clear text @return [String]
Logs user into the system
@required @param username [String?] The user name for login @required @param password [String?] The password for login in clear text @return nil
Logs user into the system
@required @param username [String?] The user name for login @required @param password [String?] The password for login in clear text @return [Tuple(String, Integer, Hash)] String, response status code and response headers
Logs out current logged in user session
@return nil
Logs out current logged in user session
@return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Updated user This can only be done by the logged in user. @required @param username [String?] name that need to be deleted @required @param user [PetStore::User?] Updated user object @return [Nil]
Updated user This can only be done by the logged in user. @required @param username [String?] name that need to be deleted @required @param user [PetStore::User?] Updated user object @return nil
Updated user This can only be done by the logged in user. @required @param username [String?] name that need to be deleted @required @param user [PetStore::User?] Updated user object @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers