Skip to content

Commit

Permalink
Deploying from phrase/openapi@b4e12d04
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Feb 7, 2024
1 parent 7019920 commit 3d11edc
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/CustomMetadataApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ opts = {
project_id: 'abcd1234cdef1234abcd1234cdef1234', # String | id of project that the properties belong to
page: 1, # Integer | Page number
per_page: 25, # Integer | Limit on the number of objects to be returned, between 1 and 100. 25 by default
q: 'character_name', # String | query to find a property by name
sort: 'updated_at', # String | Sort criteria. Can be one of: name, data_type, created_at.
order: 'desc' # String | Order direction. Can be one of: asc, desc.
}
Expand All @@ -130,6 +131,7 @@ Name | Type | Description | Notes
**project_id** | **String**| id of project that the properties belong to | [optional]
**page** | **Integer**| Page number | [optional]
**per_page** | **Integer**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | [optional]
**q** | **String**| query to find a property by name | [optional]
**sort** | **String**| Sort criteria. Can be one of: name, data_type, created_at. | [optional]
**order** | **String**| Order direction. Can be one of: asc, desc. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/KeyCreateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ instance = Phrase::KeyCreateParameters.new(branch: my-feature-branch,
data_type: number,
tags: awesome-feature,needs-proofreading,
max_characters_allowed: 140,
screenshot: [B@276038e7,
screenshot: [B@22908698,
remove_screenshot: null,
unformatted: null,
default_translation_content: Default translation content,
Expand Down
2 changes: 1 addition & 1 deletion docs/KeyUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ instance = Phrase::KeyUpdateParameters.new(branch: my-feature-branch,
data_type: number,
tags: awesome-feature,needs-proofreading,
max_characters_allowed: 140,
screenshot: [B@4be8d40e,
screenshot: [B@a638f45,
remove_screenshot: null,
unformatted: null,
xml_space_preserve: null,
Expand Down
2 changes: 1 addition & 1 deletion docs/ProjectCreateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ instance = Phrase::ProjectCreateParameters.new(name: My Android Project,
main_format: yml,
media: Python,
shares_translation_memory: true,
project_image: [B@596707f5,
project_image: [B@64f6964f,
remove_project_image: null,
account_id: abcd1234,
point_of_contact: abcd1234,
Expand Down
2 changes: 1 addition & 1 deletion docs/ProjectUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ instance = Phrase::ProjectUpdateParameters.new(account_id: abcd1234,
main_format: yml,
media: Python,
shares_translation_memory: true,
project_image: [B@6ec05499,
project_image: [B@60291e59,
remove_project_image: false,
workflow: review,
machine_translation_enabled: true,
Expand Down
2 changes: 1 addition & 1 deletion docs/ScreenshotUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require 'Phrase'
instance = Phrase::ScreenshotUpdateParameters.new(branch: my-feature-branch,
name: A screenshot name,
description: A screenshot description,
filename: [B@4659d776)
filename: [B@72842269)
```


3 changes: 3 additions & 0 deletions lib/phrase/api/custom_metadata_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def custom_metadata_properties_delete_with_http_info(account_id, id, opts = {})
# @option opts [String] :project_id id of project that the properties belong to
# @option opts [Integer] :page Page number
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @option opts [String] :q query to find a property by name
# @option opts [String] :sort Sort criteria. Can be one of: name, data_type, created_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @return [Array<CustomMetadataProperty>]
Expand All @@ -103,6 +104,7 @@ def custom_metadata_properties_list(account_id, opts = {})
# @option opts [String] :project_id id of project that the properties belong to
# @option opts [Integer] :page Page number
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @option opts [String] :q query to find a property by name
# @option opts [String] :sort Sort criteria. Can be one of: name, data_type, created_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @return [Array<(Response<(Array<CustomMetadataProperty>)>, Integer, Hash)>] Response<(Array<CustomMetadataProperty>)> data, response status code and response headers
Expand All @@ -123,6 +125,7 @@ def custom_metadata_properties_list_with_http_info(account_id, opts = {})
query_params[:'project_id'] = opts[:'project_id'] if !opts[:'project_id'].nil?
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?

Expand Down
1 change: 1 addition & 0 deletions spec/api/custom_metadata_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
# @option opts [String] :project_id id of project that the properties belong to
# @option opts [Integer] :page Page number
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @option opts [String] :q query to find a property by name
# @option opts [String] :sort Sort criteria. Can be one of: name, data_type, created_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @return [Array<CustomMetadataProperty>]
Expand Down

0 comments on commit 3d11edc

Please sign in to comment.